|
@@ -23,8 +23,8 @@
|
|
|
#ifdef RT_USING_DFS
|
|
|
/* dfs init */
|
|
|
#include <dfs_init.h>
|
|
|
-/* dfs filesystem:EFS filesystem init */
|
|
|
-#include <dfs_efs.h>
|
|
|
+/* dfs filesystem:ELM filesystem init */
|
|
|
+#include <dfs_elm.h>
|
|
|
/* dfs Filesystem APIs */
|
|
|
#include <dfs_fs.h>
|
|
|
#endif
|
|
@@ -43,18 +43,7 @@ void rt_init_thread_entry(void* parameter)
|
|
|
/* init the device filesystem */
|
|
|
dfs_init();
|
|
|
|
|
|
-#ifdef RT_USING_DFS_EFSL
|
|
|
- /* init the efsl filesystam*/
|
|
|
- efsl_init();
|
|
|
-
|
|
|
- /* mount sd card fat partition 1 as root directory */
|
|
|
- if (dfs_mount("sd0", "/", "efs", 0, 0) == 0)
|
|
|
- {
|
|
|
- rt_kprintf("File System initialized!\n");
|
|
|
- }
|
|
|
- else
|
|
|
- rt_kprintf("File System initialzation failed!\n");
|
|
|
-#elif defined(RT_USING_DFS_ELMFAT)
|
|
|
+#ifdef RT_USING_DFS_ELMFAT
|
|
|
/* init the elm chan FatFs filesystam*/
|
|
|
elm_init();
|
|
|
|