This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new bbdbca00c1 libc/assert: let CONFIG_NDEBUG default to !CONFIG_DEBUG_ASSERTIONS bbdbca00c1 is described below commit bbdbca00c13e06cf4d0dfebf535c9fc0da4fbfc6 Author: Xiang Xiao <xiaoxi...@xiaomi.com> AuthorDate: Sat Apr 30 20:51:41 2022 +0800 libc/assert: let CONFIG_NDEBUG default to !CONFIG_DEBUG_ASSERTIONS so the user could just change CONFIG_DEBUG_ASSERTIONS in most case Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com> --- Kconfig | 2 +- boards/risc-v/mpfs/icicle/configs/network/defconfig | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Kconfig b/Kconfig index 836285687f..0e29f6a06b 100644 --- a/Kconfig +++ b/Kconfig @@ -559,7 +559,7 @@ menu "Debug Options" config NDEBUG bool "Define NDEBUG globally" - default y + default !DEBUG_ASSERTIONS config DEBUG_ALERT bool diff --git a/boards/risc-v/mpfs/icicle/configs/network/defconfig b/boards/risc-v/mpfs/icicle/configs/network/defconfig index f9190878bb..3c2148b48d 100644 --- a/boards/risc-v/mpfs/icicle/configs/network/defconfig +++ b/boards/risc-v/mpfs/icicle/configs/network/defconfig @@ -6,7 +6,6 @@ # modifications. # # CONFIG_DISABLE_OS_API is not set -# CONFIG_NDEBUG is not set # CONFIG_NSH_DISABLE_LOSMART is not set CONFIG_ARCH="risc-v" CONFIG_ARCH_BOARD="icicle"