summaryrefslogtreecommitdiff
path: root/components/dfs
diff options
context:
space:
mode:
authorarmink <[email protected]>2017-10-05 14:52:16 +0800
committerarmink <[email protected]>2017-10-05 14:52:16 +0800
commit9ff340f4160b9dcd9ff7902b4943cf40a94cd11b (patch)
tree0ae4ab6d79c8dd5d67f1592fcf9772a92b62e201 /components/dfs
parenta15d90a6865fa05e2420205556df7cece5f5c134 (diff)
[KConfig] Add long file name configuration for FATFS.
Diffstat (limited to 'components/dfs')
-rw-r--r--components/dfs/KConfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/components/dfs/KConfig b/components/dfs/KConfig
index 6de6d05ea8..10ac11e76e 100644
--- a/components/dfs/KConfig
+++ b/components/dfs/KConfig
@@ -29,6 +29,16 @@ if RT_USING_DFS
int "OEM code page"
default 437
+ config RT_DFS_ELM_USE_LFN
+ int "Support long file name"
+ default 0
+ range 0 3
+ help
+ 0: LFN disable
+ 1: LFN with static LFN working buffer
+ 2: LFN with dynamic LFN working buffer on the stack
+ 3: LFN with dynamic LFN working buffer on the heap
+
config RT_DFS_ELM_MAX_LFN
int "Maximal size of file name length"
default 256