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 <Zephyr>/arch/riscv/core/pmp/Kconfig:13

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12<Zephyr>/arch/riscv/Kconfig:129

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