The latest development version of this page may be more current than this released 2.1.0 version.
CONFIG_MPU_STACK_GUARD

Thread Stack Guards

Thread Stack Guards

Type: bool

Help

Enable thread stack guards via MPU. ARC supports built-in stack protection. If your core supports that, it is preferred over MPU stack guard

Help

Enable Thread Stack Guards via MPU

Direct dependencies

(ARC_CORE_MPU && CPU_HAS_MPU && ARC) || (ARM_MPU && CPU_HAS_MPU && ARM)

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definitions

At arch/arc/core/mpu/Kconfig:19

Included via Kconfig:8Kconfig.zephyr:31arch/Kconfig:12arch/arc/Kconfig:284

Menu path: (Top) → ARC Options → ARCv2 Family Options → ARC MPU Options → ARC Core MPU functionalities

config MPU_STACK_GUARD
    bool "Thread Stack Guards"
    depends on ARC_CORE_MPU && CPU_HAS_MPU && ARC
    help
      Enable thread stack guards via MPU. ARC supports built-in stack protection.
      If your core supports that, it is preferred over MPU stack guard

At arch/arm/core/cortex_m/mpu/Kconfig:58

Included via Kconfig:8Kconfig.zephyr:31arch/Kconfig:12arch/arm/Kconfig:9arch/arm/core/Kconfig:277

Menu path: (Top) → ARM Options

config MPU_STACK_GUARD
    bool "Thread Stack Guards"
    depends on ARM_MPU && CPU_HAS_MPU && ARM
    help
      Enable Thread Stack Guards via MPU

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