The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_ASSERT_NO_MSG_INFO

Disable message for asserts

Type: bool

Help

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

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/debug/Kconfig:261

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:17

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

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

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