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_VOLUME_SIZE

Flash device volume size in hex

Type: hex

Help

This is the file system volume size in bytes.

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

  • 0x8000

  • 0x4000000

Kconfig definitions

At boards/arm/degu_evk/Kconfig.defconfig:56

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config DISK_VOLUME_SIZE
    hex
    default 0x8000
    depends on DISK_DRIVER_FLASH && BOARD_DEGU_EVK

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

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config DISK_VOLUME_SIZE
    hex
    default 0x4000000
    depends on DISK_DRIVER_FLASH && SOC_FLASH_NIOS2_QSPI && FLASH && BOARD_ALTERA_MAX10

At drivers/disk/Kconfig.flash:52

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

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

config DISK_VOLUME_SIZE
    hex "Flash device volume size in hex"
    depends on DISK_DRIVER_FLASH && DISK_DRIVERS
    help
      This is the file system volume size in bytes.

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