-
CONFIG_RUNTIME_NMI
¶
Attach an NMI handler at runtime
Type: bool
Help¶
The kernel provides a simple NMI handler that simply hangs in a tight loop if triggered. This fills the requirement that there must be an NMI handler installed when the CPU boots. If a custom handler is needed, enable this option and attach it via _NmiHandlerSet().
Direct dependencies¶
CPU_CORTEX_M
&& CPU_CORTEX_M
&& ARM
(Includes any dependencies from if’s and menus.)
Defaults¶
No defaults. Implicitly defaults to n
.
Symbols selected by this symbol¶
REBOOT
ifCPU_CORTEX_M
&&CPU_CORTEX_M
&&ARM
Kconfig definition¶
At arch/arm/core/cortex_m/Kconfig:285
Included via Kconfig:10
→ Kconfig.zephyr:23
→ arch/Kconfig:16
→ arch/arm/Kconfig:26
→ arch/arm/core/Kconfig:162
Menu path: (top menu) → ARM Options → ARM Cortex-M options
config RUNTIME_NMI bool prompt "Attach an NMI handler at runtime" ifCPU_CORTEX_M
&&CPU_CORTEX_M
&&ARM
selectREBOOT
ifCPU_CORTEX_M
&&CPU_CORTEX_M
&&ARM
depends onCPU_CORTEX_M
&&CPU_CORTEX_M
&&ARM
help The kernel provides a simple NMI handler that simply hangs in a tight loop if triggered. This fills the requirement that there must be an NMI handler installed when the CPU boots. If a custom handler is needed, enable this option and attach it via _NmiHandlerSet().
(Definitions include propagated dependencies, including from if’s and menus.)