CONFIG_ARM_MPU

ARM MPU Support

Type: bool

Help

MCU implements Memory Protection Unit. Note that NXP MPU as well as ARMv8-M MPU does not require MPU regions to have power-of-two alignment for base address and region size. In addition to the above, ARMv8-M MPU requires the active MPU regions be non-overlapping.

Direct dependencies

CPU_HAS_MPU && ARM

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At arch/arm/core/cortex_m/mpu/Kconfig:11

Included via Kconfig:10Kconfig.zephyr:34arch/Kconfig:15arch/arm/Kconfig:13arch/arm/core/Kconfig:280

Menu path: (Top) → ARM Options

config ARM_MPU
    bool "ARM MPU Support"
    select MEMORY_PROTECTION
    select THREAD_STACK_INFO
    select ARCH_HAS_EXECUTABLE_PAGE_BIT
    select MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT if !(CPU_HAS_NXP_MPU || ARMV8_M_BASELINE || ARMV8_M_MAINLINE)
    select MPU_REQUIRES_NON_OVERLAPPING_REGIONS if CPU_HAS_ARM_MPU && (ARMV8_M_BASELINE || ARMV8_M_MAINLINE)
    depends on CPU_HAS_MPU && ARM
    help
      MCU implements Memory Protection Unit.
      Note that NXP MPU as well as ARMv8-M MPU does not require MPU regions
      to have power-of-two alignment for base address and region size.
      In addition to the above, ARMv8-M MPU requires the active MPU regions
      be non-overlapping.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)