Skip to content

SPIFFS Space #779

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

Closed
EUA opened this issue Sep 14, 2015 · 3 comments
Closed

SPIFFS Space #779

EUA opened this issue Sep 14, 2015 · 3 comments
Milestone

Comments

@EUA
Copy link

EUA commented Sep 14, 2015

Please provide a tool for reporting about how much space is available / used / capacity of SPIFFS system.
Here is a hint about how to do it.
http://www.esp8266.com/viewtopic.php?f=23&t=1598

@pgollor
Copy link
Contributor

pgollor commented Sep 14, 2015

Do you mean a function which calculates the free space at runtime?
For this you can use a lop like this:
https://github.com/esp8266/Arduino/blob/esp8266/hardware/esp8266com/esp8266/doc/reference.md#directory-object-dir
And make a sum of all file sizes.

Otherwise you can download the SPIFFS image from your ESP8266 and use the mkspiffs tool with the -l option.

@igrr
Copy link
Member

igrr commented Sep 14, 2015

No it should be more like statvfs POSIX function. I'll add smth like that.

@pgollor
Copy link
Contributor

pgollor commented Sep 14, 2015

Ok, i misunderstood the post. Thanks for your great work for the hole project Iggr.

@igrr igrr modified the milestone: 2.0.0 Nov 5, 2015
igrr added a commit that referenced this issue Nov 13, 2015
@igrr igrr closed this as completed Nov 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants