feat(bootloader): Add configration for output console UART

This commit is contained in:
Dong Heng
2018-09-06 20:40:02 +08:00
parent 318571d0f8
commit e4808fe0f4
4 changed files with 57 additions and 8 deletions

View File

@@ -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