2023-08-02 13:27:09 +08:00
menu "Sdk common configuration"
2022-11-10 22:22:48 +08:00
choice DEBUG_LOG_LEVEL
2023-08-02 13:27:09 +08:00
prompt "Debug log level"
2022-11-10 22:22:48 +08:00
default LOG_ERROR
help
VERBOS: Print bigger chunks of debugging information
DEBUG: Print extra information for debugging
INFO: Print necessary information messages
WARN: Print error conditions from which recovery measures have been taken
ERROR: Print critical errors, software module can not recover on its own
config LOG_VERBOS
2023-08-02 13:27:09 +08:00
bool "Verbos"
2022-11-10 22:22:48 +08:00
config LOG_DEBUG
2023-08-02 13:27:09 +08:00
bool "Debug"
2022-11-10 22:22:48 +08:00
config LOG_INFO
2023-08-02 13:27:09 +08:00
bool "Info"
2022-11-10 22:22:48 +08:00
config LOG_WARN
2023-08-02 13:27:09 +08:00
bool "Warn"
2022-11-10 22:22:48 +08:00
config LOG_ERROR
2023-08-02 13:27:09 +08:00
bool "Error"
2022-11-10 22:22:48 +08:00
config LOG_NONE
2023-08-02 13:27:09 +08:00
bool "None"
2022-11-10 22:22:48 +08:00
endchoice # DEBUG_LOG_LEVEL
2023-08-02 13:27:09 +08:00
config LOG_EXTRA_INFO
bool "Debug log with extra info"
default n
help
Print debug information with source file name and source code line num.
config LOG_DISPALY_CORE_NUM
bool "Debug display with core"
default n
help
To display CPU core information during debugging
config BOOTUP_DEBUG_PRINTS
bool
prompt "Bootup debug"
default n
help
Enable Bootup debug printing
2022-11-10 22:22:48 +08:00
config USE_DEFAULT_INTERRUPT_CONFIG
bool
prompt "Use default interrupt configuration"
default y
2023-05-11 10:25:21 +08:00
help
2022-11-10 22:22:48 +08:00
"If this option is not selected, core0 is used as the main core by default and all interrupt driver modules are initialized. Non-0 core initializes only the necessary interrupt driver modules. If this option is selected, the developer needs to initiate each module independently "
if USE_DEFAULT_INTERRUPT_CONFIG
choice INTERRUPT_ROLE_SELECT
prompt "Interrupt role select"
default INTERRUPT_ROLE_MASTER
help
"Select Interrupt role"
config INTERRUPT_ROLE_MASTER
2023-08-02 13:27:09 +08:00
bool "Use master role"
2023-05-11 10:25:21 +08:00
2022-11-10 22:22:48 +08:00
config INTERRUPT_ROLE_SLAVE
2023-08-02 13:27:09 +08:00
bool "Use slave role"
2022-11-10 22:22:48 +08:00
endchoice # INTERRUPT_ROLE_SELECT
endif
2023-08-02 13:27:09 +08:00
endmenu