The latest development version of this page may be more current than this released 2.6.1-rc1 version.
CONFIG_FS_LITTLEFS_FC_MEM_POOL_MAX_SIZE

Block size for littlefs file cache heap (DEPRECATED)

Type: int

Help

A heap for file cache data is sized so that
FS_LITTLEFS_FC_MEM_POOL_NUM_BLOCKS allocations of size
FS_LITTLEFS_MEM_POOL_MAX_SIZE can be active simultaneously.

This option configures the size.

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

Direct dependencies

FS_LITTLEFS_FC_MEM_POOL && FILE_SYSTEM_LITTLEFS && FILE_SYSTEM

(Includes any dependencies from ifs and menus.)

Default

  • 1024

Kconfig definition

At subsys/fs/Kconfig.littlefs:99

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

Menu path: (Top) → Sub Systems and OS Services → File Systems → File system support → LittleFS support → LittleFS Settings → Enable flexible file cache sizes for littlefs (DEPRECATED)

config FS_LITTLEFS_FC_MEM_POOL_MAX_SIZE
    int "Block size for littlefs file cache heap (DEPRECATED)" if FILE_SYSTEM_LITTLEFS
    default 1024
    depends on FS_LITTLEFS_FC_MEM_POOL && FILE_SYSTEM_LITTLEFS && FILE_SYSTEM
    help
      A heap for file cache data is sized so that
      FS_LITTLEFS_FC_MEM_POOL_NUM_BLOCKS allocations of size
      FS_LITTLEFS_MEM_POOL_MAX_SIZE can be active simultaneously.

      This option configures the size.

      This API is no longer approprate as the underlying storage solution
      has been deprecated.  Instead use FS_LITTLEFS_FC_HEAP 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.)