Enable ERR/WARN/INFO when selecting DEBUG_FEATURES

When the user selects the debug features it will enable
the Debug Errors, Warning and Info by default avoiding
the issue: https://github.com/apache/nuttx/issues/10452

User still need to enable individual debug for each
subsystem, so this patch didn't increase binary size.
This commit is contained in:
Alan Carvalho de Assis 2023-09-01 07:48:40 -03:00 committed by Xiang Xiao
parent c898461ca5
commit 569a4d48b9

View File

@ -649,14 +649,14 @@ comment "Debug SYSLOG Output Controls"
config DEBUG_ERROR
bool "Enable Error Output"
default n
default y
---help---
Enables output from [a-z]err() statements. Errors are significant system
exceptions that require immediate attention.
config DEBUG_WARN
bool "Enable Warnings Output"
default n
default y
depends on DEBUG_ERROR
---help---
Enables output from [a-z]warn() statements. Warnings are considered to
@ -665,7 +665,7 @@ config DEBUG_WARN
config DEBUG_INFO
bool "Enable Informational Debug Output"
default n
default y
depends on DEBUG_WARN
---help---
Enables verbose "informational" debug output. If you enable