CONFIG_ASSERT_VERBOSE

Enable verbose assertions

Type: bool

Help

This option enables printing an assert message with information about the assertion that occurred. This includes printing the location, the conditional expression and additional message specific to the assert.

Default

  • y

Kconfig definition

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

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_VERBOSE
    bool "Enable verbose assertions"
    default y
    help
      This option enables printing an assert message with information about
      the assertion that occurred. This includes printing the location,
      the conditional expression and additional message specific to the
      assert.

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