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_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

ARM || (CPU_CORTEX_R && ARM)

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definitions

At arch/arm/core/aarch32/Kconfig:125

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/arm/Kconfig:57

Menu path: (Top) → ARM Options

config RUNTIME_NMI
    bool "Attach an NMI handler at runtime"
    select REBOOT
    depends on 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().

At arch/arm/core/aarch32/cortex_a_r/Kconfig:87

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/arm/Kconfig:57arch/arm/core/aarch32/Kconfig:295

Menu path: (Top) → ARM Options

config RUNTIME_NMI
    bool
    default y
    depends on CPU_CORTEX_R && ARM

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