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

Included via Kconfig:10Kconfig.zephyr:26

Menu path: (Top)

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

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

Included via Kconfig:10Kconfig.zephyr:26

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 subsys/disk/Kconfig:76

Included via Kconfig:10Kconfig.zephyr:44subsys/Kconfig:16

Menu path: (Top) → 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.)