-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto size spiffs file system. Universal binary creation. #2321
Comments
If the device already has smaller SPIFFS partition flashed (e.g. someone was using a 1M binary on 4M flash), would you like the partition to be preserved? Or is it okay to just create new partition which fits actual flash size? |
I would like it to max out the size of the file system automatically. |
I.e. it has to overwrite older small partition, correct? |
Yes. Wipe out the old smaller one. That would be great. |
Somewhat related. Don't know if it is possible. I have run in to trouble compiling for 1 megabyte modules. The file system takes up half of the module and the firmware the other half. Unfortunately my firmware is now over the allowable size limit. Would be nice if this allowed for the size of spiffs system to shrink either tightly using space unused or reserved by the firmware or to size to the next step down for rigid size of the spiffs. |
Any word on this becoming a possibility? |
From what I can tell, this requires some rather deep and fundamental changes to code, ld scripts, and IDE menu. |
This will be fixed by #6690. |
I would really like to have an option to produce a generic binary that can be flashed to any device and auto size the spiffs file system to the max size.
Enhancement request.
The text was updated successfully, but these errors were encountered: