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_DISK_FLASH_MAX_RW_SIZE

Flash device max read-write size in decimal

Type: int

Help

This is the maximum number of bytes that the
flash_write API can accept per invocation.
API.

Direct dependencies

(DISK_DRIVER_FLASH && BOARD_DEGU_EVK) || (DISK_DRIVER_FLASH && SOC_FLASH_NIOS2_QSPI && FLASH && BOARD_ALTERA_MAX10) || (DISK_DRIVER_FLASH && DISK_DRIVERS)

(Includes any dependencies from ifs and menus.)

Defaults

  • 4

  • 256

Kconfig definitions

At boards/arm/degu_evk/Kconfig.defconfig:41

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config DISK_FLASH_MAX_RW_SIZE
    int
    default 4
    depends on DISK_DRIVER_FLASH && BOARD_DEGU_EVK

At boards/nios2/altera_max10/Kconfig.defconfig:26

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config DISK_FLASH_MAX_RW_SIZE
    int
    default 256
    depends on DISK_DRIVER_FLASH && SOC_FLASH_NIOS2_QSPI && FLASH && BOARD_ALTERA_MAX10

At drivers/disk/Kconfig.flash:26

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:114drivers/disk/Kconfig:12

Menu path: (Top) → Device Drivers → Disk Drivers → Flash

config DISK_FLASH_MAX_RW_SIZE
    int "Flash device max read-write size in decimal"
    depends on DISK_DRIVER_FLASH && DISK_DRIVERS
    help
      This is the maximum number of bytes that the
      flash_write API can accept per invocation.
      API.

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