-
Notifications
You must be signed in to change notification settings - Fork 808
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
How to implement these functions at the bottom of file IO using littlefs #1014
Comments
|
The nano version does not have a dfs component
|
Reference only,nano can only write its own; |
Thanks for your answer.I'm trying to write it |
I use RT-THREAD nano version system, after porting littlefs to nor flash, I can not realize the open, close, read, write functions in file IO
How to implement these functions at the bottom of file IO using littlefs:
int _open_r(struct _reent *ptr, const char *file, int flags, int mode);
int _close_r(struct _reent *ptr, int fd);
_ssize_t _read_r(struct _reent *ptr, int fd, void *buf, size_t nbytes);
_ssize_t _write_r(struct _reent *ptr, int fd, const void *buf, size_t nbytes);
The text was updated successfully, but these errors were encountered: