CONFIG_ASSERT_NO_COND_INFO

Disable condition info for asserts

Type: bool

Help

This option removes the assert condition from the printed assert message. Enabling this will save target code space, and thus may be necessary for tiny targets. It is recommended to disable condition info before disabling file info since the condition can be found in the source using file info.

Defaults

No defaults. Implicitly defaults to n.

Symbols that imply this symbol

Kconfig definition

At <Zephyr>/subsys/debug/Kconfig:255

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:16

Menu path: (Top) → Sub Systems and OS Services → Debugging Options

config ASSERT_NO_COND_INFO
    bool "Disable condition info for asserts"
    help
      This option removes the assert condition from the printed assert
      message. Enabling this will save target code space, and thus may be
      necessary for tiny targets. It is recommended to disable condition
      info before disabling file info since the condition can be found in
      the source using file info.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)