The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_FS_LITTLEFS_LOOKAHEAD_SIZE

Size of lookahead buffer in bytes

Type: int

Help

A larger lookahead buffer increases the number of blocks found
during an allocation pass. The lookahead buffer is stored as a
compact bitmap, so each byte of RAM can track 8 blocks. Must
be a multiple of 8.

Direct dependencies

FILE_SYSTEM_LITTLEFS && FILE_SYSTEM

(Includes any dependencies from ifs and menus.)

Default

  • 32

Kconfig definition

At subsys/fs/Kconfig.littlefs:54

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:25subsys/fs/Kconfig:61

Menu path: (Top) → Sub Systems and OS Services → File Systems → File system support → LittleFS support → LittleFS Settings

config FS_LITTLEFS_LOOKAHEAD_SIZE
    int "Size of lookahead buffer in bytes" if FILE_SYSTEM_LITTLEFS
    default 32
    depends on FILE_SYSTEM_LITTLEFS && FILE_SYSTEM
    help
      A larger lookahead buffer increases the number of blocks found
      during an allocation pass. The lookahead buffer is stored as a
      compact bitmap, so each byte of RAM can track 8 blocks. Must
      be a multiple of 8.

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