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

Kconfig definition

At arch/arm/core/cortex_m/Kconfig:285

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16arch/arm/Kconfig:26arch/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" if CPU_CORTEX_M && CPU_CORTEX_M && ARM
    select REBOOT if CPU_CORTEX_M && CPU_CORTEX_M && ARM
    depends on CPU_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.)