From 569a4d48b9cbb0e26b2d275f87bc3bad669bc3ee Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Fri, 1 Sep 2023 07:48:40 -0300 Subject: [PATCH] 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. --- Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Kconfig b/Kconfig index 1874458c91..675937fc93 100644 --- a/Kconfig +++ b/Kconfig @@ -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