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_MPU_ALLOW_FLASH_WRITE

Add MPU access to write to flash

Add MPU access to write to flash

Add MPU access to write to flash

Type: bool

Help

Enable this to allow MPU RWX access to flash memory

Help

Enable this to allow MPU RWX access to flash memory

Help

Enable this to allow MPU RWX access to flash memory

Direct dependencies

(ARM_MPU && CPU_HAS_MPU && ARM) || (ARM_MPU && CPU_HAS_MPU && CPU_AARCH64_CORTEX_R && ARM64) || FLASH

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/arm/Kconfig:57arch/arm/core/aarch32/Kconfig:297

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 && ARM
    help
      Enable this to allow MPU RWX access to flash memory

At arch/arm64/core/cortex_r/Kconfig:56

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/arm64/Kconfig:32arch/arm64/core/Kconfig:142

Menu path: (Top) → ARM64 Options

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

At drivers/flash/Kconfig.esp32:13

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:62drivers/flash/Kconfig:65

Menu path: (Top) → Device Drivers → Flash hardware support

config MPU_ALLOW_FLASH_WRITE
    bool "Add MPU access to write to flash"
    depends on FLASH
    help
      Enable this to allow MPU RWX access to flash memory

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