The latest development version of this page may be more current than this released 2.7.5 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:35

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:42drivers/Kconfig:116drivers/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.)