Page 1 of 1

`cat /dev/ttyACM0' outputs duplicated '\n' with esp32-s3 usb-serial-jtag console on linux

Posted: Wed Jan 07, 2026 2:47 pm
by wuyjnuaa
Hello there,

By `cat /dev/ttyACM0' on my Debian linux system, I always got duplicated newline ('\n') characters for every line I
printfed or logged from my esp32-s3 device which is quite unsatisfactory. Does anyone has any advice for this problem.
Thanks in advance.

I use ESP-IDF v5.5.1 and usb-serial-jtag uart console which is a system default. Also I found no config items for
line ending conversions of libc vfs layers in 'idf.py menuconfig'.