This is the documentation for the latest (master) 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_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:77

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

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.)