This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_RUNTIME_ERROR_CHECKS

Enable runtime error checks

Type: bool

Help

Always perform runtime checks covered with the CHECK macro. This
option is the default and the only option used during testing.

Direct dependencies

<choice: Error checking behavior for CHECK macro>

(Includes any dependencies from ifs and menus.)

Kconfig definition

At Kconfig.zephyr:351

Included via Kconfig:8

Menu path: (Top) → Build and Link Features → Error checking behavior for CHECK macro

config RUNTIME_ERROR_CHECKS
    bool "Enable runtime error checks"
    depends on <choice>
    help
      Always perform runtime checks covered with the CHECK macro. This
      option is the default and the only option used during testing.

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