CONFIG_FORCE_NO_ASSERT

Force-disable no assertions

Type: bool

Help

This boolean option disables Zephyr assertion testing even in circumstances (sanitycheck) where it is enabled via CFLAGS and not Kconfig. Added solely to be able to work around compiler bugs for specific tests.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

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

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

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

config FORCE_NO_ASSERT
    bool "Force-disable no assertions"
    help
      This boolean option disables Zephyr assertion testing even
      in circumstances (sanitycheck) where it is enabled via
      CFLAGS and not Kconfig.  Added solely to be able to work
      around compiler bugs for specific tests.

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