rt-thread/components/dfs/Kconfig

53 lines
1.3 KiB
Plaintext
Raw Normal View History

menu "DFS: device virtual file system"
config RT_USING_DFS
bool "DFS: device virtual file system"
2018-06-27 10:10:50 +08:00
select RT_USING_MUTEX
2017-01-31 11:54:12 +08:00
default y
help
The device file system is a light weight virtual file system.
if RT_USING_DFS
2021-11-16 00:22:49 +08:00
config DFS_USING_POSIX
bool "Using posix-like functions, open/read/write/close"
default y
2017-01-31 11:54:12 +08:00
config DFS_USING_WORKDIR
bool "Using working directory"
default y
2017-12-18 15:47:30 +08:00
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 DFS_FD_MAX
int "The maximal number of opened files"
default 16
choice
prompt "The version of DFS"
default RT_USING_DFS_V1
default RT_USING_DFS_V2 if RT_USING_SMART
2017-10-25 14:21:49 +08:00
config RT_USING_DFS_V1
bool "DFS v1.0"
config RT_USING_DFS_V2
bool "DFS v2.0"
endchoice
2017-01-31 11:54:12 +08:00
source "$RTT_DIR/components/dfs/dfs_v1/Kconfig"
source "$RTT_DIR/components/dfs/dfs_v2/Kconfig"
2017-01-31 11:54:12 +08:00
endif
endmenu