From e71763b068a990102be1a9bb3a4a954a97cb1ba9 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Sat, 28 Jul 2018 20:22:14 +0800 Subject: [PATCH] [DFS] Add RT_USING_DFS_MNTTABLE option in Kconfig --- components/dfs/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/dfs/Kconfig b/components/dfs/Kconfig index 12fc4d470f..107cee84d3 100644 --- a/components/dfs/Kconfig +++ b/components/dfs/Kconfig @@ -26,6 +26,18 @@ if RT_USING_DFS int "The maximal number of opened files" default 16 + config RT_USING_DFS_MNTTABLE + bool "Using mount table for file system" + default n + help + User can use mount table for automatically mount, for example: + const struct dfs_mount_tbl mount_table[] = + { + {"flash0", "/", "elm", 0, 0}, + {0} + }; + The mount_table must be terminated with NULL. + config RT_USING_DFS_ELMFAT bool "Enable elm-chan fatfs" default n