This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_PMP_STACK_GUARD

Thread Stack Guard

Type: bool

Help

Enable Thread Stack Guards via PMP

Direct dependencies

RISCV_PMP && RISCV

(Includes any dependencies from ifs and menus.)

Default

  • n

Kconfig definition

At arch/riscv/core/pmp/Kconfig:22

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/riscv/Kconfig:142

Menu path: (Top) → RISCV Options → RISCV Processor Options → RISC-V PMP Support

config PMP_STACK_GUARD
    bool "Thread Stack Guard"
    default n
    depends on RISCV_PMP && RISCV
    help
      Enable Thread Stack Guards via PMP

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