The latest development version of this page may be more current than this released 2.5.0 version.
CONFIG_MPU_ALLOW_FLASH_WRITE

Add MPU access to write to flash

Type: bool

Help

Enable this to allow MPU RWX access to flash memory

Direct dependencies

ARM_MPU && CPU_HAS_MPU && CPU_CORTEX_M && !ARM64 && ARM

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/arm/core/aarch32/cortex_m/mpu/Kconfig:78

Included via Kconfig:8Kconfig.zephyr:29arch/Kconfig:12arch/arm/Kconfig:42arch/arm/core/aarch32/Kconfig:237arch/arm/core/aarch32/cortex_m/Kconfig:308

Menu path: (Top) → ARM Options

config MPU_ALLOW_FLASH_WRITE
    bool "Add MPU access to write to flash"
    depends on ARM_MPU && CPU_HAS_MPU && CPU_CORTEX_M && !ARM64 && ARM
    help
      Enable this to allow MPU RWX access to flash memory

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