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 <Zephyr>/arch/riscv/Kconfig:116

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/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 MEMORY_PROTECTION if !BOARD_QEMU_RISCV32
    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.)