add fatfs through vfs for EVB plus

1. see board\TencentOS_tiny_EVB_MX_Plus\KEIL\fatfs_through_vfs
This commit is contained in:
daishengdong
2020-06-02 21:31:11 +08:00
parent 5ed72770f5
commit 7f4b0b2582
32 changed files with 3132 additions and 88 deletions

View File

@@ -1,7 +1,5 @@
#include "tos_vfs.h"
#if TOS_CFG_VFS_EN > 0u
__STATIC__ vfs_file_t vfs_file_pool[VFS_FILE_OPEN_MAX] = { { K_NULL, 0 } };
__KNL__ vfs_file_t *vfs_fd2file(int fd)
@@ -75,5 +73,3 @@ __KNL__ void vfs_dir_free(vfs_dir_t *dir)
tos_mmheap_free(dir);
}
#endif