You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/09/02 06:45:51 UTC
[nuttx] 01/02: Enable ERR/WARN/INFO when selecting DEBUG_FEATURES
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 569a4d48b9cbb0e26b2d275f87bc3bad669bc3ee
Author: Alan Carvalho de Assis <ac...@gmail.com>
AuthorDate: Fri Sep 1 07:48:40 2023 -0300
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