fix: prevent device hang when no USB host connected
Switch primary console from USB Serial/JTAG to UART so log output doesn't block when the device is powered by a wall charger. USB Serial/JTAG remains available as secondary console for debugging. Closes #60 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -35,5 +35,7 @@ CONFIG_HTTPD_WS_SUPPORT=y
|
||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
||||
|
||||
# Console/UART for CLI
|
||||
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|
||||
# Console: UART primary (non-blocking), USB Serial/JTAG secondary
|
||||
# Prevents device hang when no USB host is connected (issue #60)
|
||||
CONFIG_ESP_CONSOLE_UART_DEFAULT=y
|
||||
CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG=y
|
||||
|
||||
Reference in New Issue
Block a user