The latest development version of this page may be more current than this released 2.7.5 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 selected by this symbol

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