CONFIG_NORDIC_QSPI_NOR_STACK_WRITE_BUFFER_SIZE

Size of a stack-based buffer to support writes from NVMC

Type: int

Help

The QSPI peripheral uses DMA and cannot write data that is read from the internal flash. A non-zero value here enables a stack buffer into which data is copied to allow the write to proceed. Multiple transfers will be initiated if the data is larger than the configured limit. Must be a multiple of 4. The feature is disabled when set to 0.

Direct dependencies

NORDIC_QSPI_NOR && FLASH

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At <Zephyr>/drivers/flash/Kconfig.nordic_qspi_nor:33

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:60<Zephyr>/drivers/flash/Kconfig:83

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

config NORDIC_QSPI_NOR_STACK_WRITE_BUFFER_SIZE
    int "Size of a stack-based buffer to support writes from NVMC"
    default 0
    depends on NORDIC_QSPI_NOR && FLASH
    help
      The QSPI peripheral uses DMA and cannot write data that is
      read from the internal flash.  A non-zero value here enables
      a stack buffer into which data is copied to allow the write
      to proceed.  Multiple transfers will be initiated if the
      data is larger than the configured limit.  Must be a
      multiple of 4.  The feature is disabled when set to 0.

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