-
CONFIG_RESET_ON_FATAL_ERROR
¶
Reset on fatal error
Type: bool
Help¶
Enable using the fatal error handler defined for Nordic DKs. When it is used, the system restarts after a fatal error.
Default¶
y if !
DEBUG
&& !BOARD_NATIVE_POSIX
&& !QEMU_TARGET
&& !ZTEST
Kconfig definition¶
At <nRF>/lib/fatal_error/Kconfig:7
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:23
→ <Zephyr>/modules/Kconfig:6
→ <BuildDir>/Kconfig/Kconfig.modules:2
→ <nRF>/Kconfig.nrf:27
→ <nRF>/lib/Kconfig:25
Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Libraries
menuconfig RESET_ON_FATAL_ERROR bool "Reset on fatal error" default y if !DEBUG
&& !BOARD_NATIVE_POSIX
&& !QEMU_TARGET
&& !ZTEST
selectREBOOT
help Enable using the fatal error handler defined for Nordic DKs. When it is used, the system restarts after a fatal error.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)