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 <Zephyr>/subsys/fs/Kconfig.littlefs:54

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:24<Zephyr>/subsys/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.)