The latest development version of this page may be more current than this released 2.5.0 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_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

  • 0x8000

  • 0x4000000

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

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

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

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

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

At subsys/disk/Kconfig:88

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:19

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

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

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