CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE

Page size to use for FLASH_LAYOUT feature

Type: int

Help

When CONFIG_FLASH_PAGE_LAYOUT is used this driver will support that API. By default the page size corresponds to the block size (65536). Other options include the 32K-byte erase size (32768), the sector size (4096), or any non-zero multiple of the sector size.

Direct dependencies

SPI_NOR && FLASH

(Includes any dependencies from ifs and menus.)

Default

  • 65536

Kconfig definition

At drivers/flash/Kconfig.nor:25

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:54drivers/flash/Kconfig:53

Menu path: (Top) → Device Drivers → Flash hardware support → SPI NOR Flash

config SPI_NOR_FLASH_LAYOUT_PAGE_SIZE
    int "Page size to use for FLASH_LAYOUT feature"
    default 65536
    depends on SPI_NOR && FLASH
    help
      When CONFIG_FLASH_PAGE_LAYOUT is used this driver will support
      that API.  By default the page size corresponds to the block
      size (65536).  Other options include the 32K-byte erase size
      (32768), the sector size (4096), or any non-zero multiple of the
      sector size.

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