提交 8d169a8b 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #862 from armink/fix_kconfig

Fix kconfig
...@@ -29,6 +29,30 @@ if RT_USING_DFS ...@@ -29,6 +29,30 @@ if RT_USING_DFS
int "OEM code page" int "OEM code page"
default 437 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 config RT_DFS_ELM_MAX_LFN
int "Maximal size of file name length" int "Maximal size of file name length"
default 256 default 256
......
menu "Network stack" menu "Network stack"
menu "light weight TCP/IP stack" menu "Light weight TCP/IP stack"
config RT_USING_LWIP config RT_USING_LWIP
bool "Enable lwIP stack" bool "Enable lwIP stack"
default n default n
...@@ -65,6 +65,10 @@ config RT_USING_LWIP ...@@ -65,6 +65,10 @@ config RT_USING_LWIP
config RT_LWIP_TCP config RT_LWIP_TCP
bool "TCP protocol" bool "TCP protocol"
default y default y
config RT_LWIP_RAW
bool "RAW protocol"
default n
config RT_LWIP_PPP config RT_LWIP_PPP
bool "PPP protocol" bool "PPP protocol"
...@@ -78,6 +82,10 @@ config RT_USING_LWIP ...@@ -78,6 +82,10 @@ config RT_USING_LWIP
bool "PPPoS protocol" bool "PPPoS protocol"
default n default n
config RT_LWIP_USING_RT_MEM
bool "Using RT-Thread Memory Management for LWIP"
default y
config RT_LWIP_PBUF_NUM config RT_LWIP_PBUF_NUM
int "the number of PBUF" int "the number of PBUF"
default 16 default 16
...@@ -161,4 +169,8 @@ endmenu ...@@ -161,4 +169,8 @@ endmenu
source "$RTT_DIR/components/net/freemodbus/KConfig" source "$RTT_DIR/components/net/freemodbus/KConfig"
config RT_USING_NETUTILS
bool "Enable net utils"
default n
endmenu endmenu
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册