CONFIG_CPU_CORTEX_M_HAS_SPLIM

(No prompt – not directly user assignable.)

Type: bool

Help

This option signifies the CPU has the MSPLIM, PSPLIM registers.

The stack pointer limit registers, MSPLIM, PSPLIM, limit the
extend to which the Main and Process Stack Pointers, respectively,
can descend. MSPLIM, PSPLIM are always present in ARMv8-M
MCUs that implement the ARMv8-M Main Extension (Mainline).

In an ARMv8-M Mainline implementation with the Security Extension
the MSPLIM, PSPLIM registers have additional Secure instances.
In an ARMv8-M Baseline implementation with the Security Extension
the MSPLIM, PSPLIM registers have only Secure instances.

Direct dependencies

(ARMV8_M_MAINLINE || (ARMV8_M_SE && !ARM_NONSECURE_FIRMWARE)) && CPU_CORTEX_M && 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:125

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:65<Zephyr>/arch/arm/core/aarch32/Kconfig:305

Menu path: (Top) → ARM Options

config CPU_CORTEX_M_HAS_SPLIM
    bool
    depends on (ARMV8_M_MAINLINE || (ARMV8_M_SE && !ARM_NONSECURE_FIRMWARE)) && CPU_CORTEX_M && ARM
    help
      This option signifies the CPU has the MSPLIM, PSPLIM registers.

      The stack pointer limit registers, MSPLIM, PSPLIM, limit the
      extend to which the Main and Process Stack Pointers, respectively,
      can descend. MSPLIM, PSPLIM are always present in ARMv8-M
      MCUs that implement the ARMv8-M Main Extension (Mainline).

      In an ARMv8-M Mainline implementation with the Security Extension
      the MSPLIM, PSPLIM registers have additional Secure instances.
      In an ARMv8-M Baseline implementation with the Security Extension
      the MSPLIM, PSPLIM registers have only Secure instances.

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