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 arch/arm/core/cortex_m/Kconfig:139

Included via Kconfig:10Kconfig.zephyr:34arch/Kconfig:15arch/arm/Kconfig:13arch/arm/core/Kconfig:179

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.)