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

wuyjnuaa
Posts: 1
Joined: Wed Jan 07, 2026 2:03 pm

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

Postby wuyjnuaa » Wed Jan 07, 2026 2:47 pm

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'.

Who is online

Users browsing this forum: Baidu [Spider], ChatGPT-User, Semrush [Bot] and 6 guests