-
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.
Defaults¶
- 32 if
ARM_MPU
&&CPU_HAS_MPU
&&ARM
- 4 if
CPU_HAS_MPU
&&ARM
Kconfig definition¶
At arch/arm/core/cortex_m/mpu/Kconfig:25
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
→ arch/arm/Kconfig:13
→ arch/arm/core/Kconfig:168
Menu path: (top menu) → ARM Options
config ARM_MPU_REGION_MIN_ALIGN_AND_SIZE int default 32 ifARM_MPU
&&CPU_HAS_MPU
&&ARM
default 4 ifCPU_HAS_MPU
&&ARM
depends onCPU_HAS_MPU
&&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.
(Definitions include propagated dependencies, including from if’s and menus.)