:orphan: .. title:: FS_LITTLEFS_BLOCK_CYCLES .. option:: CONFIG_FS_LITTLEFS_BLOCK_CYCLES *Number of erase cycles before moving data to another block* Type: ``int`` Help ==== For dynamic wear leveling, the number of erase cycles before data is moved to another block. Set to a non-positive value to disable leveling. Direct dependencies =================== \ :option:`FILE_SYSTEM_LITTLEFS ` && \ :option:`FILE_SYSTEM ` *(Includes any dependencies from ifs and menus.)* Default ======= - 512 Kconfig definition ================== .. highlight:: kconfig At ``subsys/fs/Kconfig.littlefs:63`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:25`` → ``subsys/fs/Kconfig:61`` Menu path: (Top) → Sub Systems and OS Services → File Systems → File system support → LittleFS support → LittleFS Settings .. parsed-literal:: config FS_LITTLEFS_BLOCK_CYCLES int "Number of erase cycles before moving data to another block" if \ :option:`FILE_SYSTEM_LITTLEFS ` default 512 depends on \ :option:`FILE_SYSTEM_LITTLEFS ` && \ :option:`FILE_SYSTEM ` help For dynamic wear leveling, the number of erase cycles before data is moved to another block. Set to a non-positive value to disable leveling. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*