mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
56 lines
1.7 KiB
Plaintext
56 lines
1.7 KiB
Plaintext
menu "Log"
|
|
|
|
choice BOOTLOADER_LOG_VERSION
|
|
prompt "Log version"
|
|
help
|
|
Select the log version to be used by the ESP log component.
|
|
The app log version (CONFIG_LOG_VERSION) controls the version used in the bootloader,
|
|
preventing the selection of different versions.
|
|
For description of V1 and V2 see CONFIG_LOG_VERSION.
|
|
|
|
config BOOTLOADER_LOG_VERSION_1
|
|
bool "V1" if LOG_VERSION_1
|
|
config BOOTLOADER_LOG_VERSION_2
|
|
bool "V2" if LOG_VERSION_2
|
|
endchoice
|
|
|
|
config BOOTLOADER_LOG_VERSION
|
|
int
|
|
default 1 if BOOTLOADER_LOG_VERSION_1
|
|
default 2 if BOOTLOADER_LOG_VERSION_2
|
|
help
|
|
This configuration sets the log version number based on the chosen log version.
|
|
|
|
choice BOOTLOADER_LOG_LEVEL
|
|
bool "Bootloader log verbosity"
|
|
default BOOTLOADER_LOG_LEVEL_INFO
|
|
help
|
|
Specify how much output to see in bootloader logs.
|
|
|
|
config BOOTLOADER_LOG_LEVEL_NONE
|
|
bool "No output"
|
|
config BOOTLOADER_LOG_LEVEL_ERROR
|
|
bool "Error"
|
|
config BOOTLOADER_LOG_LEVEL_WARN
|
|
bool "Warning"
|
|
config BOOTLOADER_LOG_LEVEL_INFO
|
|
bool "Info"
|
|
config BOOTLOADER_LOG_LEVEL_DEBUG
|
|
bool "Debug"
|
|
config BOOTLOADER_LOG_LEVEL_VERBOSE
|
|
bool "Verbose"
|
|
endchoice
|
|
|
|
config BOOTLOADER_LOG_LEVEL
|
|
int
|
|
default 0 if BOOTLOADER_LOG_LEVEL_NONE
|
|
default 1 if BOOTLOADER_LOG_LEVEL_ERROR
|
|
default 2 if BOOTLOADER_LOG_LEVEL_WARN
|
|
default 3 if BOOTLOADER_LOG_LEVEL_INFO
|
|
default 4 if BOOTLOADER_LOG_LEVEL_DEBUG
|
|
default 5 if BOOTLOADER_LOG_LEVEL_VERBOSE
|
|
|
|
orsource "Kconfig.log.format"
|
|
|
|
endmenu
|