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:
parent
c898461ca5
commit
569a4d48b9
6
Kconfig
6
Kconfig
@ -649,14 +649,14 @@ comment "Debug SYSLOG Output Controls"
|
|||||||
|
|
||||||
config DEBUG_ERROR
|
config DEBUG_ERROR
|
||||||
bool "Enable Error Output"
|
bool "Enable Error Output"
|
||||||
default n
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enables output from [a-z]err() statements. Errors are significant system
|
Enables output from [a-z]err() statements. Errors are significant system
|
||||||
exceptions that require immediate attention.
|
exceptions that require immediate attention.
|
||||||
|
|
||||||
config DEBUG_WARN
|
config DEBUG_WARN
|
||||||
bool "Enable Warnings Output"
|
bool "Enable Warnings Output"
|
||||||
default n
|
default y
|
||||||
depends on DEBUG_ERROR
|
depends on DEBUG_ERROR
|
||||||
---help---
|
---help---
|
||||||
Enables output from [a-z]warn() statements. Warnings are considered to
|
Enables output from [a-z]warn() statements. Warnings are considered to
|
||||||
@ -665,7 +665,7 @@ config DEBUG_WARN
|
|||||||
|
|
||||||
config DEBUG_INFO
|
config DEBUG_INFO
|
||||||
bool "Enable Informational Debug Output"
|
bool "Enable Informational Debug Output"
|
||||||
default n
|
default y
|
||||||
depends on DEBUG_WARN
|
depends on DEBUG_WARN
|
||||||
---help---
|
---help---
|
||||||
Enables verbose "informational" debug output. If you enable
|
Enables verbose "informational" debug output. If you enable
|
||||||
|
Loading…
Reference in New Issue
Block a user