From 3203eba8156a152af82faa81590e3319c7b8f859 Mon Sep 17 00:00:00 2001 From: Jade Mattsson Date: Sun, 12 May 2024 20:00:24 +1000 Subject: [PATCH] Disable CR/LF translation by default. With the change to use the IDF's stdin to feed the Lua VM, the default IDF CR/LF translation appears to cause issues with some IDEs. --- sdkconfig.defaults | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdkconfig.defaults b/sdkconfig.defaults index 617c1c31..3475ee40 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -32,3 +32,7 @@ CONFIG_LWIP_TCP_MSL=5000 # Disable esp-idf's bluetooth component by default. # The bthci module is also disabled and will enable bt when selected CONFIG_BT_ENABLED=n + +# Disable CR/LF translation, for legacy compatibility +CONFIG_NEWLIB_STDIN_LINE_ENDING_LF=y +CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF=y