CONFIG_FS_LITTLEFS_FC_MEM_POOL

Enable flexible file cache sizes for littlefs (DEPRECATED)

Type: bool

Help

littlefs requires a per-file buffer to cache data.  For
applications that use the default configuration parameters a
memory slab is reserved to support up to
FS_LITTLE_FS_NUM_FILES blocks of FS_LITTLEFS_CACHE_SIZE bytes.

When applications customize littlefs configurations and
support different cache sizes for different partitions this
preallocation is inadequate.

This API is no longer approprate as the underlying storage solution
has been deprecated.  Instead use FS_LITTLEFS_FC_HEAP_SIZE to
configure the size of a heap used to allocate caches for open files.

Direct dependencies

FILE_SYSTEM_LITTLEFS && FILE_SYSTEM

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/subsys/fs/Kconfig.littlefs:71

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:25<Zephyr>/subsys/fs/Kconfig:61

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

menuconfig FS_LITTLEFS_FC_MEM_POOL
    bool "Enable flexible file cache sizes for littlefs (DEPRECATED)" if FILE_SYSTEM_LITTLEFS
    depends on FILE_SYSTEM_LITTLEFS && FILE_SYSTEM
    help
      littlefs requires a per-file buffer to cache data.  For
      applications that use the default configuration parameters a
      memory slab is reserved to support up to
      FS_LITTLE_FS_NUM_FILES blocks of FS_LITTLEFS_CACHE_SIZE bytes.

      When applications customize littlefs configurations and
      support different cache sizes for different partitions this
      preallocation is inadequate.

      This API is no longer approprate as the underlying storage solution
      has been deprecated.  Instead use FS_LITTLEFS_FC_HEAP_SIZE to
      configure the size of a heap used to allocate caches for open files.

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