:orphan: .. title:: CONFIG_FS_LITTLEFS_BLOCK_CYCLES .. kconfig:: CONFIG_FS_LITTLEFS_BLOCK_CYCLES CONFIG_FS_LITTLEFS_BLOCK_CYCLES ############################### *Number of erase cycles before moving data to another block* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`FILE_SYSTEM_LITTLEFS ` && \ :kconfig:`FILE_SYSTEM ` *(Includes any dependencies from ifs and menus.)* Default ======= - 512 Kconfig definition ================== At ``/fs/Kconfig.littlefs:63`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:25`` → ``/fs/Kconfig:61`` Menu path: (Top) → Sub Systems and OS Services → File Systems → File system support → LittleFS support → LittleFS Settings .. code-block:: kconfig config FS_LITTLEFS_BLOCK_CYCLES int "Number of erase cycles before moving data to another block" if FILE_SYSTEM_LITTLEFS default 512 depends on FILE_SYSTEM_LITTLEFS && 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.)*