igrr / mkspiffs

Tool to build and unpack SPIFFS images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimize the size of the SPIFFS image?

plerup opened this issue · comments

Could it be possible to generate an image with only the blocks subsequent from the beginning which actually contains data and skip all the following blocks with only FF in them?

I guess it could then be possible to flash this small image and just erase the following blocks within the file system address range (if a range erase function is available in esptool)

Hereby a lot of upload time could be gained for a 3 MB file system...

BR
/Peter

Ok, just realized that there are some data in these blocks as well, so please forget this question