CONFIG_CPU_CORTEX_M_HAS_BASEPRI

(No prompt – not directly user assignable.)

Type: bool

Help

This option signifies the CPU has the BASEPRI register.

The BASEPRI register defines the minimum priority for exception processing. When BASEPRI is set to a nonzero value, it prevents the activation of all exceptions with the same or lower priority level as the BASEPRI value. Always present in CPUs that implement the ARMv7-M or ARM8-M Mainline architectures.

Direct dependencies

ARMV7_M_ARMV8_M_MAINLINE && CPU_CORTEX_M && !ARM64 && ARM

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At <Zephyr>/arch/arm/core/aarch32/cortex_m/Kconfig:91

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:42<Zephyr>/arch/arm/core/aarch32/Kconfig:237

Menu path: (Top) → ARM Options

config CPU_CORTEX_M_HAS_BASEPRI
    bool
    depends on ARMV7_M_ARMV8_M_MAINLINE && CPU_CORTEX_M && !ARM64 && ARM
    help
      This option signifies the CPU has the BASEPRI register.

      The BASEPRI register defines the minimum priority for
      exception processing. When BASEPRI is set to a nonzero
      value, it prevents the activation of all exceptions with
      the same or lower priority level as the BASEPRI value.
      Always present in CPUs that implement the ARMv7-M or
      ARM8-M Mainline architectures.

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