diff options
| author | SummerGift <[email protected]> | 2017-12-18 15:42:23 +0800 |
|---|---|---|
| committer | SummerGift <[email protected]> | 2017-12-18 15:44:31 +0800 |
| commit | 3cefa437ddf0a06aecd772560294172f3d888580 (patch) | |
| tree | da3b8b122ebd87fbbc79422c874c13870b76811d /components/dfs | |
| parent | ac278da0aa10f23b4746fccc4f36e92953d6bdf8 (diff) | |
[nfs]: optimize Kconfig file for nfs
Diffstat (limited to 'components/dfs')
| -rw-r--r-- | components/dfs/Kconfig | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/components/dfs/Kconfig b/components/dfs/Kconfig index 91df96cb08..1654a2e6c4 100644 --- a/components/dfs/Kconfig +++ b/components/dfs/Kconfig @@ -10,19 +10,22 @@ if RT_USING_DFS config DFS_USING_WORKDIR bool "Using working directory" default y - + config DFS_FILESYSTEMS_MAX - int "The maximal number of mounted file system" - default 2 - + int "The maximal number of mounted file system" + default 4 if RT_USING_DFS_NFS + default 2 + config DFS_FILESYSTEM_TYPES_MAX int "The maximal number of file system type" - default 2 - + default 4 if RT_USING_DFS_NFS + default 2 + config DFS_FD_MAX int "The maximal number of opened files" + default 16 if RT_USING_DFS_NFS default 4 - + config RT_USING_DFS_ELMFAT bool "Enable elm-chan fatfs" default y @@ -156,7 +159,7 @@ if RT_USING_DFS config RT_USING_DFS_NFS bool "Using NFS v3 client file system" - depends on RT_USING_LWIP + select RT_USING_LWIP default n if RT_USING_DFS_NFS |
