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

Merge pull request #862 from armink/fix_kconfig

Fix 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
......
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
......@@ -66,6 +66,10 @@ config RT_USING_LWIP
bool "TCP protocol"
default y
config RT_LWIP_RAW
bool "RAW protocol"
default n
config RT_LWIP_PPP
bool "PPP protocol"
default n
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册