Skip to content
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

Closed
mmiscool opened this issue Jul 23, 2016 · 8 comments · Fixed by #6690
Closed

Auto size spiffs file system. Universal binary creation. #2321

mmiscool opened this issue Jul 23, 2016 · 8 comments · Fixed by #6690

Comments

@mmiscool
Copy link
Member

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.

@igrr
Copy link
Member

igrr commented Jul 28, 2016

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?

@mmiscool
Copy link
Member Author

I would like it to max out the size of the file system automatically.

@igrr
Copy link
Member

igrr commented Aug 1, 2016

I.e. it has to overwrite older small partition, correct?

@mmiscool
Copy link
Member Author

mmiscool commented Aug 1, 2016

Yes. Wipe out the old smaller one. That would be great.

@mmiscool
Copy link
Member Author

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.

@mmiscool
Copy link
Member Author

Any word on this becoming a possibility?

@devyte
Copy link
Collaborator

devyte commented Nov 27, 2018

From what I can tell, this requires some rather deep and fundamental changes to code, ld scripts, and IDE menu.
Removing milestone for now.

@devyte devyte removed this from the 2.5.0 milestone Nov 27, 2018
@d-a-v d-a-v added this to the 3.0.0 milestone Nov 9, 2020
@d-a-v
Copy link
Collaborator

d-a-v commented Mar 31, 2021

This will be fixed by #6690.
Pushing to v3.0.1.

@d-a-v d-a-v modified the milestones: 3.0.0, 3.0.1 Mar 31, 2021
@d-a-v d-a-v modified the milestones: 3.0.1, 3.1 Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants