-
Notifications
You must be signed in to change notification settings - Fork 36
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
Unable to list files in a SPIFFS partition #117
Comments
Hey @bugadani, thanks for your patience! I think I've tracked this down to another mismatch of structs on the C side and rust side. The files are created, and when you step into the I need to track down whether this is an issue with rust-lang/libc or the newlib component of esp-idf. |
This is an esp-idf issue, specifically this definition.
|
The final part I've now submitted the two patches internally. Hopefully, they'll be merged and backported soon :). |
Awesome, thanks :) |
See pellepl/spiffs#288 for the description of the issue. Reported in esp-rs/rust#117 (comment)
Thanks for the report @bugadani. This is now fixed & backported to V4.4, so I'm closing this issue :). You may need to remove |
See pellepl/spiffs#288 for the description of the issue. Reported in esp-rs/rust#117 (comment)
Given is the following test code, built on a CMake setup (with some details omitted):
I expect the following output:
Instead, the output I get is the following:
The OS error is unrelated (SPIFFS seems to indicate the end of folder iteration by returning a value that gets turned into EIO), but note that the path in the DirEntry has an empty filename.
This issue is present on:
The text was updated successfully, but these errors were encountered: