diff options
| author | bhgv <bhgv.empire@gmail.com> | 2020-05-12 13:38:53 +0300 |
|---|---|---|
| committer | bhgv <bhgv.empire@gmail.com> | 2020-05-12 13:38:53 +0300 |
| commit | 49064f41a2c731cbdfaf6605f32c9cfb7cc0dfd4 (patch) | |
| tree | 17a0804a69e8ca128cf53493fc877d0fcdebf3c8 /libiot/vfs/vfs.h | |
| parent | 9b5d5f8a4640dbecdc87e5b6e7e95f71018632cf (diff) | |
support of FreeRTOS riscV-64 (k210 cpu). 2nd step
Diffstat (limited to 'libiot/vfs/vfs.h')
| -rw-r--r-- | libiot/vfs/vfs.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libiot/vfs/vfs.h b/libiot/vfs/vfs.h index eb743fd..4cea7c1 100644 --- a/libiot/vfs/vfs.h +++ b/libiot/vfs/vfs.h @@ -96,7 +96,7 @@ int vfs_fat_format(const char *target); int vfs_fat_fsstat(const char *target, u32_t *total, u32_t *used); */ -int vfs_spiffs_mount(const char *target); +esp_vfs_t* vfs_spiffs_mount(const char *target); int vfs_spiffs_umount(const char *target); int vfs_spiffs_format(const char *target); int vfs_spiffs_fsstat(const char *target, u32_t *total, u32_t *used); @@ -121,8 +121,11 @@ ssize_t vfs_generic_read(vfs_fd_local_storage_t *local_storage, vfs_has_bytes ha ssize_t vfs_generic_write(vfs_fd_local_storage_t *local_storage, vfs_put_byte put, int fd, const void *data, size_t size); ssize_t vfs_generic_writev(vfs_fd_local_storage_t *local_storage, vfs_put_byte put, int fd, const struct iovec *iov, int iovcnt); int vfs_generic_select(vfs_fd_local_storage_t *local_storage, vfs_has_bytes has_bytes, vfs_free_bytes free, int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset, struct timeval *timeout); +*/ vfs_dir_t *vfs_allocate_dir(const char *vfs, const char *name); void vfs_free_dir(vfs_dir_t *dir); -vfs_fd_local_storage_t *vfs_create_fd_local_storage(int num); -*/ +//vfs_fd_local_storage_t *vfs_create_fd_local_storage(int num); + + +extern esp_vfs_t vfs; |
