mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-12-12 16:21:17 +08:00
feat(bootloader): Add configration for output console UART
This commit is contained in:
@@ -37,6 +37,23 @@ config SOC_FULL_ICACHE
|
||||
|
||||
endmenu
|
||||
|
||||
choice CONSOLE_UART_NUM
|
||||
prompt "UART peripheral to use for console output (0-1)"
|
||||
default CONSOLE_UART_CUSTOM_NUM_0
|
||||
help
|
||||
Configrate output console UART for "ets_printf", "printf", "ESP_LOGX" and so on.
|
||||
|
||||
config CONSOLE_UART_CUSTOM_NUM_0
|
||||
bool "UART0"
|
||||
config CONSOLE_UART_CUSTOM_NUM_1
|
||||
bool "UART1"
|
||||
endchoice
|
||||
|
||||
config CONSOLE_UART_NUM
|
||||
int
|
||||
default 0 if CONSOLE_UART_CUSTOM_NUM_0
|
||||
default 1 if CONSOLE_UART_CUSTOM_NUM_1
|
||||
|
||||
menu WIFI
|
||||
|
||||
config SCAN_AP_MAX
|
||||
|
||||
Reference in New Issue
Block a user