fix(console): fixed secondary console not working on all chips without VFS

This commit is contained in:
Marius Vikhammer
2025-08-22 09:38:46 +08:00
parent ac1fdc16d3
commit 00f4245160
28 changed files with 161 additions and 42 deletions
@@ -98,3 +98,7 @@ config ESP_ROM_HAS_VPRINTF_FUNC
config ESP_ROM_HAS_OUTPUT_PUTC_FUNC
bool
default y
config ESP_ROM_CONSOLE_OUTPUT_SECONDARY
bool
default y
@@ -30,3 +30,4 @@
#define ESP_ROM_HAS_VERSION (1) // ROM has version/eco information
#define ESP_ROM_HAS_VPRINTF_FUNC (1) // ROM has ets_vprintf
#define ESP_ROM_HAS_OUTPUT_PUTC_FUNC (1) // ROM has esp_rom_output_putc (or ets_write_char_uart)
#define ESP_ROM_CONSOLE_OUTPUT_SECONDARY (1) // The console output functions will also output to the USB-serial secondary console