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 <Zephyr>/drivers/flash/Kconfig.nor:54

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:60<Zephyr>/drivers/flash/Kconfig:71

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.)