Platformio send newline (LF) only in monitor

I’m using monitor_filters=send_on_enter in platformio.ini.

I know PIO using miniterm.py

i realized PIO send Carriage Return (CR) Line Feed (LF) at send_on_enter.

It doesn’t want to send with pressing enter if I set line ending with LF only or CR only that I was setup with CTRL+L.

monitor_eol = LF

in the platformio.ini does not help?

1 Like

Some of the monitor stuff changes with the recent updates to 6.1. The docs are updated and at Redirecting.... I fell foul of this myself when my monitor_flags, in an old project, now have their own settings.

You should see a warning messages advising that some of the monitor_filters were invalid where they used to be valid before if this is happening to you.

Mine used to be:

 ; Serial Monitor options
monitor_speed = 115200
monitor_filters = send_on_enter
monitor_flags = 
    --echo 
    --eol 
    CRLF

and now they are:

; Serial Monitor options
monitor_speed = 115200
monitor_filters = send_on_enter
monitor_echo = yes
monitor_eol = CRLF

HTH

Cheers,
Norm.

1 Like