nodemcu-firmware/components
Jade Mattsson 70c7437cdc Address crashes on linput's use of printf.
On an empty line input, a C3 with UART console would panic while attempting
to output the new Lua prompt. The backtrace shows a xQueueSemaphoreTake
with uxItemSize==0 as the panic cause, deep inside the uart driver, invoked
via vfs_uart and vfs_console layers, from printf.
Similarly, the printf for outputting a backspace/erase sequence would also
trigger a panic.

This workaround (of not mixing fflush() with printf) is likely merely hiding
a deeper issue, but it appears to be consistent. Plus, printf with no args
and a user-supplied format string is a no-no and should be fixed anyway.
2024-03-27 15:45:50 +11:00
..
base_nodemcu Proof-of-concept multi-type console support via stdio 2024-03-27 15:45:50 +11:00
driver_can Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
driver_i2c Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
embedded_lfs idf4: overhaul to new build system, part 1 of 3 2021-07-15 16:27:03 +10:00
lua Address crashes on linput's use of printf. 2024-03-27 15:45:50 +11:00
modules Added espnow module with documentation. 2024-03-27 15:43:59 +11:00
platform Proof-of-concept multi-type console support via stdio 2024-03-27 15:45:50 +11:00
qrcodegen idf4: overhaul to new build system, part 1 of 3 2021-07-15 16:27:03 +10:00
rtos_dbg Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
sjson Code cleanup to sort out warnings. 2021-07-29 13:47:45 +10:00
task Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
u8g2 Code cleanup to sort out warnings. 2021-07-29 13:47:45 +10:00
ucg Code cleanup to sort out warnings. 2021-07-29 13:47:45 +10:00
uzlib Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. 2021-08-22 02:03:05 +10:00