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

  • 4

Kconfig definition

At <Driver>/flash/Kconfig.nordic_qspi_nor:29

Included via Kconfig:8Kconfig.zephyr:42<Driver>/Kconfig:62<Driver>/flash/Kconfig:101

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