remove EFSL file system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@507 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
800f092470
commit
a352c48a76
|
@ -25,8 +25,8 @@
|
||||||
#ifdef RT_USING_DFS
|
#ifdef RT_USING_DFS
|
||||||
/* dfs init */
|
/* dfs init */
|
||||||
#include <dfs_init.h>
|
#include <dfs_init.h>
|
||||||
/* dfs filesystem:EFS filesystem init */
|
/* dfs filesystem:ELM FatFs filesystem init */
|
||||||
#include <dfs_efs.h>
|
#include <dfs_elm.h>
|
||||||
/* dfs Filesystem APIs */
|
/* dfs Filesystem APIs */
|
||||||
#include <dfs_fs.h>
|
#include <dfs_fs.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -48,18 +48,7 @@ void rt_init_thread_entry(void* parameter)
|
||||||
/* init the device filesystem */
|
/* init the device filesystem */
|
||||||
dfs_init();
|
dfs_init();
|
||||||
|
|
||||||
#ifdef RT_USING_DFS_EFSL
|
#ifdef defined(RT_USING_DFS_ELMFAT)
|
||||||
/* 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)
|
|
||||||
/* init the elm chan FatFs filesystam*/
|
/* init the elm chan FatFs filesystam*/
|
||||||
elm_init();
|
elm_init();
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
/* SECTION: Device filesystem support */
|
/* SECTION: Device filesystem support */
|
||||||
/* using DFS support */
|
/* using DFS support */
|
||||||
#define RT_USING_DFS
|
#define RT_USING_DFS
|
||||||
#define RT_USING_DFS_EFSL
|
#define RT_USING_DFS_ELMFATFS
|
||||||
/* #define RT_USING_DFS_YAFFS2 */
|
/* #define RT_USING_DFS_YAFFS2 */
|
||||||
|
|
||||||
/* #define DFS_USING_WORKDIR */
|
/* #define DFS_USING_WORKDIR */
|
||||||
|
|
Loading…
Reference in New Issue