diff options
| author | Bernard Xiong <[email protected]> | 2017-10-06 10:59:53 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-10-06 10:59:53 +0800 |
| commit | 8d169a8b197588b0824d4feaed01457571d9b07b (patch) | |
| tree | e681f03950bc9406456777edffc43a995e7f7be9 | |
| parent | 29d14993792d4bb76135fd2ecce63b21cf1ebcac (diff) | |
| parent | 9d545566199c6b23ceeb7c4cb2c83b8f109c8ca9 (diff) | |
Merge pull request #862 from armink/fix_kconfig
Fix kconfig
| -rw-r--r-- | components/dfs/KConfig | 24 | ||||
| -rw-r--r-- | components/net/KConfig | 14 |
2 files changed, 37 insertions, 1 deletions
diff --git a/components/dfs/KConfig b/components/dfs/KConfig index 6de6d05ea8..512b6f271a 100644 --- a/components/dfs/KConfig +++ b/components/dfs/KConfig @@ -29,6 +29,30 @@ if RT_USING_DFS int "OEM code page" default 437 + choice + prompt "Support long file name" + default RT_DFS_ELM_USE_LFN_0 + + config RT_DFS_ELM_USE_LFN_0 + bool "0: LFN disable" + + config RT_DFS_ELM_USE_LFN_1 + bool "1: LFN with static LFN working buffer" + + config RT_DFS_ELM_USE_LFN_2 + bool "2: LFN with dynamic LFN working buffer on the stack" + + config RT_DFS_ELM_USE_LFN_3 + bool "3: LFN with dynamic LFN working buffer on the heap" + endchoice + + config RT_DFS_ELM_USE_LFN + int + default 0 if RT_DFS_ELM_USE_LFN_0 + default 1 if RT_DFS_ELM_USE_LFN_1 + default 2 if RT_DFS_ELM_USE_LFN_2 + default 3 if RT_DFS_ELM_USE_LFN_3 + config RT_DFS_ELM_MAX_LFN int "Maximal size of file name length" default 256 diff --git a/components/net/KConfig b/components/net/KConfig index 0154d0e7f1..d2af79c837 100644 --- a/components/net/KConfig +++ b/components/net/KConfig @@ -1,6 +1,6 @@ menu "Network stack" -menu "light weight TCP/IP stack" +menu "Light weight TCP/IP stack" config RT_USING_LWIP bool "Enable lwIP stack" default n @@ -65,6 +65,10 @@ config RT_USING_LWIP config RT_LWIP_TCP bool "TCP protocol" default y + + config RT_LWIP_RAW + bool "RAW protocol" + default n config RT_LWIP_PPP bool "PPP protocol" @@ -78,6 +82,10 @@ config RT_USING_LWIP bool "PPPoS protocol" default n + config RT_LWIP_USING_RT_MEM + bool "Using RT-Thread Memory Management for LWIP" + default y + config RT_LWIP_PBUF_NUM int "the number of PBUF" default 16 @@ -161,4 +169,8 @@ endmenu source "$RTT_DIR/components/net/freemodbus/KConfig" +config RT_USING_NETUTILS + bool "Enable net utils" + default n + endmenu |
