This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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.

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 && ARM) || (CPU_HAS_MPU && CPU_AARCH64_CORTEX_R && ARM64)

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At arch/arm/core/aarch32/mpu/Kconfig:46

Included via Kconfig:8Kconfig.zephyr:37arch/Kconfig:12arch/arm/Kconfig:57arch/arm/core/aarch32/Kconfig:264

Menu path: (Top) → ARM Options

config ARM_MPU_REGION_MIN_ALIGN_AND_SIZE
    int
    default 256 if ARM_MPU && ARMV6_M_ARMV8_M_BASELINE && !ARMV8_M_BASELINE
    default 32 if ARM_MPU
    default 4
    depends on CPU_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.

At arch/arm64/core/cortex_r/mpu/Kconfig:41

Included via Kconfig:8Kconfig.zephyr:37arch/Kconfig:12arch/arm64/Kconfig:32arch/arm64/core/Kconfig:140

Menu path: (Top) → ARM64 Options

config ARM_MPU_REGION_MIN_ALIGN_AND_SIZE
    int
    default 64 if ARM_MPU
    default 4
    depends on CPU_HAS_MPU && CPU_AARCH64_CORTEX_R && ARM64
    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.)