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 && !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:116

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_SPLIM
    bool
    depends on (ARMV8_M_MAINLINE || (ARMV8_M_SE && !ARM_NONSECURE_FIRMWARE)) && CPU_CORTEX_M && !ARM64 && 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.)