CONFIG_FS_LITTLEFS_HEAP_PER_ALLOC_OVERHEAD_SIZE
Size of per-allocation overhead for littleFS heap in bytes
Type: int
Help
In case when total size of littleFS heap is automatically calculated
we need to take into account overhead caused per block allocation.
For the purpose of heap size calculation the size of each cache block
will be increased by this value.
NOTE: when your app fails to open pre-defined number of files, as set
by FS_LITTLEFS_NUM_FILES, try to increase the value.
Direct dependencies
FS_LITTLEFS_FC_HEAP_SIZE
<= 0 && FILE_SYSTEM_LITTLEFS
&& FILE_SYSTEM
(Includes any dependencies from ifs and menus.)
Default
32
Kconfig definition
At <Subsystem>/fs/Kconfig.littlefs:94
Included via Kconfig:8
→ Kconfig.zephyr:44
→ <Subsystem>/Kconfig:25
→ <Subsystem>/fs/Kconfig:61
Menu path: (Top) → Sub Systems and OS Services → File Systems → File system support → LittleFS support
config FS_LITTLEFS_HEAP_PER_ALLOC_OVERHEAD_SIZE
int "Size of per-allocation overhead for littleFS heap in bytes"
default 32
depends on FS_LITTLEFS_FC_HEAP_SIZE <= 0 && FILE_SYSTEM_LITTLEFS && FILE_SYSTEM
help
In case when total size of littleFS heap is automatically calculated
we need to take into account overhead caused per block allocation.
For the purpose of heap size calculation the size of each cache block
will be increased by this value.
NOTE: when your app fails to open pre-defined number of files, as set
by FS_LITTLEFS_NUM_FILES, try to increase the value.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)