CONFIG_FS_LITTLEFS_NUM_FILES

Maximum number of opened files

Type: int

Help

This is a global maximum across all mounted littlefs filesystems.

Direct dependencies

FILE_SYSTEM

(Includes any dependencies from ifs and menus.)

Default

  • 4

Kconfig definition

At subsys/fs/Kconfig.littlefs:8

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:16subsys/fs/Kconfig:142

Menu path: (Top) → File Systems → File system support → LittleFS Settings

config FS_LITTLEFS_NUM_FILES
    int "Maximum number of opened files" if FILE_SYSTEM_LITTLEFS
    default 4
    depends on FILE_SYSTEM
    help
      This is a global maximum across all mounted littlefs filesystems.

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