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 <Zephyr>/boards/arm/degu_evk/Kconfig.defconfig:32

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config DISK_FLASH_MAX_RW_SIZE
    int
    default 4
    depends on DISK_DRIVER_FLASH && BOARD_DEGU_EVK

At <Zephyr>/boards/nios2/altera_max10/Kconfig.defconfig:26

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.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 <Zephyr>/drivers/disk/Kconfig.flash:26

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:116<Zephyr>/drivers/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.)