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

CONFIG_PMP_POWER_OF_TWO_ALIGNMENT

Enable power of two alignment

Type: bool

Help

This option will reduce the PMP slot number usage but increase
the memory consumption.

Direct dependencies

RISCV_PMP && 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/core/pmp/Kconfig:13

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_POWER_OF_TWO_ALIGNMENT
    bool "Enable power of two alignment"
    default n
    select MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT
    select GEN_PRIV_STACKS
    depends on RISCV_PMP && RISCV
    help
      This option will reduce the PMP slot number usage but increase
      the memory consumption.

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