CONFIG_ASSERT_NO_FILE_INFO

Disable file info for asserts

Type: bool

Help

This option removes the name and the path of the source file in which the assertion occurred. Enabling this will save target code space, and thus may be necessary for tiny targets.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

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

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_FILE_INFO
    bool "Disable file info for asserts"
    help
      This option removes the name and the path of the source file
      in which the assertion occurred. Enabling this will save
      target code space, and thus may be necessary for tiny targets.

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