CONFIG_DISK_ERASE_BLOCK_SIZE

Flash device erasable block size in hex

Type: hex

Help

This is typically the minimum block size that
is erased at one time in flash storage.
Typically it is equal to the flash memory page size.

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

  • 0x1000

  • 0x10000

Kconfig definitions

At <Zephyr>/boards/arm/degu_evk/Kconfig.defconfig:35

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

Menu path: (Top)

config DISK_ERASE_BLOCK_SIZE
    hex
    default 0x1000
    depends on DISK_DRIVER_FLASH && BOARD_DEGU_EVK

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

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

Menu path: (Top)

config DISK_ERASE_BLOCK_SIZE
    hex
    default 0x10000
    depends on DISK_DRIVER_FLASH && SOC_FLASH_NIOS2_QSPI && FLASH && BOARD_ALTERA_MAX10

At <Zephyr>/drivers/disk/Kconfig.flash:39

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_ERASE_BLOCK_SIZE
    hex "Flash device erasable block size in hex"
    depends on DISK_DRIVER_FLASH && DISK_DRIVERS
    help
      This is typically the minimum block size that
      is erased at one time in flash storage.
      Typically it is equal to the flash memory page size.

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