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_FLASH_MCUX_FLEXSPI_NOR_WRITE_BUFFER

MCUX FlexSPI NOR write RAM buffer

Type: bool

Help

Copy the data to a RAM buffer before writing it to the flash.
This prevents faults when the data to write would be located on the
flash itself.

Direct dependencies

(FLASH_MCUX_FLEXSPI_NOR || FLASH_MCUX_FLEXSPI_MX25UM51345G) && HAS_MCUX_FLEXSPI && FLASH

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At drivers/flash/Kconfig.mcux:44

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:60drivers/flash/Kconfig:71

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

config FLASH_MCUX_FLEXSPI_NOR_WRITE_BUFFER
    bool "MCUX FlexSPI NOR write RAM buffer"
    default y
    depends on (FLASH_MCUX_FLEXSPI_NOR || FLASH_MCUX_FLEXSPI_MX25UM51345G) && HAS_MCUX_FLEXSPI && FLASH
    help
      Copy the data to a RAM buffer before writing it to the flash.
      This prevents faults when the data to write would be located on the
      flash itself.

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