joltwallet / esp_littlefs

LittleFS port for ESP-IDF
MIT License
254 stars 95 forks source link

Update LittleFS to v2.8.0; introduce grow_on_mount. #148

Closed BrianPugh closed 11 months ago

BrianPugh commented 11 months ago

Addresses #145 . This introduces the grow_on_mount flag to esp_vfs_littlefs_conf_t. Note that filesystems can only be grown by adding more space to the end of the partition, you cannot move the partition's starting offset.

Additionally, filesystem sizes (block_count) are now autodetected instead of assuming to take up the entire provided partition.

@Jason2866 @s-hadinger, please give this a test and let me know if that satisfies your use case.

s-hadinger commented 11 months ago

Great news, we will test and report back

BrianPugh commented 11 months ago

@s-hadinger @Jason2866 have you had a chance to experiment with this PR?

s-hadinger commented 11 months ago

Not yet, sorry. Will do soon

Jason2866 commented 11 months ago

A bit, the builded Arduino frameworks do work fine with the enhanced version. No regression encountered in LittleFS so far. @s-hadinger will implement the needed changes in Tasmota to test the new grow function.

s-hadinger commented 11 months ago

Tested succesfully on Tasmota. It works great. Thank you!

BrianPugh commented 11 months ago

released in v1.10.0