diff options
| author | Bernard Xiong <[email protected]> | 2018-07-28 20:22:14 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2018-07-28 20:22:14 +0800 |
| commit | e71763b068a990102be1a9bb3a4a954a97cb1ba9 (patch) | |
| tree | 2646d49d03832070489631804fc52d8f8bb641e4 /components/dfs | |
| parent | 2b09a02084bc1261420efb1f33271015f73e7eda (diff) | |
[DFS] Add RT_USING_DFS_MNTTABLE option in Kconfig
Diffstat (limited to 'components/dfs')
| -rw-r--r-- | components/dfs/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
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 |
