STM32 Arduino Core: Unexpected double CRLF behavior in Serial.println vs SAMD51
Summary STM32Duino core produces double CRLF (\r\n\r\n) for string constants in Serial.println() while numeric values output correctly. SAMD51 core behaves as expected with single CRLF (\r\n) for both cases. Root cause stems from HAL-level CRLF conversion conflicting with Arduino’s standard newline handling. Root Cause STM32 HAL UART drivers automatically convert \n to \r\n during transmission. … Read more