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_RISCV_PMP

RISC-V PMP Support

Type: bool

Help

MCU implements Physical Memory Protection.
Memory protection against read-only area writing
is natively supported on real HW.

Direct dependencies

RISCV

(Includes any dependencies from ifs and menus.)

Default

  • n

Symbols that select this symbol

Kconfig definition

At arch/riscv/Kconfig:127

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

Menu path: (Top) → RISCV Options → RISCV Processor Options

menuconfig RISCV_PMP
    bool "RISC-V PMP Support"
    default n
    select THREAD_STACK_INFO
    select CPU_HAS_MPU
    select MPU
    select SRAM_REGION_PERMISSIONS
    select ARCH_MEM_DOMAIN_SYNCHRONOUS_API if USERSPACE
    select PMP_POWER_OF_TWO_ALIGNMENT if USERSPACE
    depends on RISCV
    help
      MCU implements Physical Memory Protection.
      Memory protection against read-only area writing
      is natively supported on real HW.

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