No integrated Carriage Return on nRF Serial Terminal in VS Code

Hi, when I send a "\n" character via kprintf(), the nRF Serial Terminal integrated in the nRF Connect plugin for VS Code performs a "new line" operation just as expected (LF + CR).

When I send a "\n" character via an individually configured UART interface, the terminal only performs a linefeed (LF) without carriage returen (CR).

I know that there are different conventions for NL/LF/CR handling. But shouldn't there be at least an option in the nRF Serial Terminal configuration to perform an integrated CR when a LF is received (or vice versa)? In the past, I used PuTTY and didn't have any problem setting the configuration for the console window correctly. With the nRF Connect plugin, configuring the console window is too complex with all the options available, and still doesn't seem to support this simple feature.

In short: Please add an option to perform an integrated CR when LF is received. Some "intelligent" CR/LF handling that performs both operations whether one or both symbols are received would also be nice (Example: If LF is received, also perform a CR, and if the folowing byte received is a CR, ignore it as it was already processed).

Best regards,

Michael

PS: This topic is related to https://devzone.nordicsemi.com/f/nordic-q-a/99360/new-line-carriage-return-on-rtt-terminal-of-vs-code

Parents Reply Children
Related