-
CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE
¶
(No prompt – not directly user assignable.)
Type: int
Help¶
Minimum size (and alignment) of an ARM MPU region. Use this symbol to guarantee minimum size and alignment of MPU regions. A minimum 4-byte alignment is enforced in ARM builds without support for Memory Protection.
Direct dependencies¶
CPU_HAS_MPU
&& CPU_CORTEX_M
&& !ARM64
&& ARM
(Includes any dependencies from ifs and menus.)
Defaults¶
256 if
ARM_MPU
&&ARMV6_M_ARMV8_M_BASELINE
&& !ARMV8_M_BASELINE
32 if
ARM_MPU
4
Kconfig definition¶
At arch/arm/core/aarch32/cortex_m/mpu/Kconfig:46
Included via Kconfig:8
→ Kconfig.zephyr:29
→ arch/Kconfig:12
→ arch/arm/Kconfig:42
→ arch/arm/core/aarch32/Kconfig:237
→ arch/arm/core/aarch32/cortex_m/Kconfig:308
Menu path: (Top) → ARM Options
config ARM_MPU_REGION_MIN_ALIGN_AND_SIZE int default 256 ifARM_MPU
&&ARMV6_M_ARMV8_M_BASELINE
&& !ARMV8_M_BASELINE
default 32 ifARM_MPU
default 4 depends onCPU_HAS_MPU
&&CPU_CORTEX_M
&& !ARM64
&&ARM
help Minimum size (and alignment) of an ARM MPU region. Use this symbol to guarantee minimum size and alignment of MPU regions. A minimum 4-byte alignment is enforced in ARM builds without support for Memory Protection.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)