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_ACCESS_FLASH && BOARD_DEGU_EVK) || (DISK_ACCESS_FLASH && SOC_FLASH_NIOS2_QSPI && FLASH && BOARD_ALTERA_MAX10) || (DISK_ACCESS_FLASH && DISK_ACCESS)

(Includes any dependencies from ifs and menus.)

Defaults

  • 0x1000

  • 0x10000

Kconfig definitions

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

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

Menu path: (Top)

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

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

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

Menu path: (Top)

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

At <Zephyr>/subsys/disk/Kconfig:75

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:19

Menu path: (Top) → Sub Systems and OS Services → Disk Interface → Flash

config DISK_ERASE_BLOCK_SIZE
    hex "Flash device erasable block size in hex"
    depends on DISK_ACCESS_FLASH && DISK_ACCESS
    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.)