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.
Default¶
n
Symbols selected by this symbol¶
Kconfig definition¶
At arch/riscv/core/pmp/Kconfig:13
Included via Kconfig:8
→ Kconfig.zephyr:39
→ arch/Kconfig:12
→ arch/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.)