:orphan: .. title:: CONFIG_FS_LITTLEFS_CACHE_SIZE .. kconfig:: CONFIG_FS_LITTLEFS_CACHE_SIZE CONFIG_FS_LITTLEFS_CACHE_SIZE ############################# *Size of block caches in bytes* Type: ``int`` Help ==== .. code-block:: none Each cache buffers a portion of a block in RAM. The littlefs needs a read cache, a program cache, and one additional cache per file. Larger caches can improve performance by storing more data and reducing the number of disk accesses. Must be a multiple of the read and program sizes of the underlying flash device, and a factor of the block size. Direct dependencies =================== \ :kconfig:`FILE_SYSTEM_LITTLEFS ` && \ :kconfig:`FILE_SYSTEM ` *(Includes any dependencies from ifs and menus.)* Default ======= - 64 Kconfig definition ================== At ``/fs/Kconfig.littlefs:43`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:25`` → ``/fs/Kconfig:61`` Menu path: (Top) → Sub Systems and OS Services → File Systems → File system support → LittleFS support → LittleFS Settings .. code-block:: kconfig config FS_LITTLEFS_CACHE_SIZE int "Size of block caches in bytes" if FILE_SYSTEM_LITTLEFS default 64 depends on FILE_SYSTEM_LITTLEFS && FILE_SYSTEM help Each cache buffers a portion of a block in RAM. The littlefs needs a read cache, a program cache, and one additional cache per file. Larger caches can improve performance by storing more data and reducing the number of disk accesses. Must be a multiple of the read and program sizes of the underlying flash device, and a factor of the block size. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*