-
Notifications
You must be signed in to change notification settings - Fork 10
Fix errors, add fatfs modified time #63
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
base: main
Are you sure you want to change the base?
Conversation
@daniel-j Thank you for the pull request. Sorry for the very late reply. Overall it looks good, I agree with using |
Hi, I have updated the PR to use limits.h instead. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Thanks!
I have updated again with a fix for _ftello_r, have a look and see if you like it. Also fixed an issue with month number in stat mtime. |
_ftello_r
as it collides when linking.PATH_MAX
from limits.h instead.LittleFS could also support file timestamps through attributes although this would have to be implemented as an extra feature.
I'm not using pico-vfs from C directly but I made a Nim wrapper for it that I'm working on in my Pico SDK wrapper
https://github.com/daniel-j/picostdlib/blob/master/src/picostdlib/pico/filesystem.nim
https://github.com/daniel-j/picostdlib/tree/master/examples/filesystem
_ftello_r linking error:
Nice work on pico-vfs!