This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_DISK_FLASH_ERASE_ALIGNMENT

Flash device erase alignment in hex

Type: hex

Help

This is the start address alignment required by
the flash component.

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

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

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

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

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

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

At drivers/disk/Kconfig.flash:33

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:114drivers/disk/Kconfig:12

Menu path: (Top) → Device Drivers → Disk Drivers → Flash

config DISK_FLASH_ERASE_ALIGNMENT
    hex "Flash device erase alignment in hex"
    depends on DISK_DRIVER_FLASH && DISK_DRIVERS
    help
      This is the start address alignment required by
      the flash component.

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