mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-03-02 09:35:28 +08:00
KConfig cleanup.
This commit is contained in:
parent
c1926d3af7
commit
ae6ca7bb02
@ -1,5 +1,17 @@
|
|||||||
menu "RT-Thread Components"
|
menu "RT-Thread Components"
|
||||||
|
|
||||||
|
config RT_USING_COMPONENTS_INIT
|
||||||
|
bool "Use components automatically initialization"
|
||||||
|
default y
|
||||||
|
|
||||||
|
if RT_USING_COMPONENTS_INIT
|
||||||
|
config RT_USING_USER_MAIN
|
||||||
|
bool "The main() function as user entry function"
|
||||||
|
default y
|
||||||
|
endif
|
||||||
|
|
||||||
|
source "$RTT_DIR/components/cplusplus/KConfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/finsh/KConfig"
|
source "$RTT_DIR/components/finsh/KConfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/dfs/KConfig"
|
source "$RTT_DIR/components/dfs/KConfig"
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
menu "Device Drivers"
|
menu "Device Drivers"
|
||||||
|
|
||||||
|
config RT_USING_DEVICE_IPC
|
||||||
|
bool "Using device drivers IPC"
|
||||||
|
default y
|
||||||
|
|
||||||
config RT_USING_SERIAL
|
config RT_USING_SERIAL
|
||||||
bool "Using serial device drivers"
|
bool "Using serial device drivers"
|
||||||
default y
|
default y
|
||||||
|
@ -44,6 +44,20 @@ config RT_USING_LWIP
|
|||||||
select RT_LWIP_UDP
|
select RT_LWIP_UDP
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
if RT_LWIP_DHCP
|
||||||
|
config IP_SOF_BROADCAST
|
||||||
|
int "SOF broadcast"
|
||||||
|
default 1
|
||||||
|
|
||||||
|
config IP_SOF_BROADCAST_RECV
|
||||||
|
int "SOF broadcast recv"
|
||||||
|
default 1
|
||||||
|
|
||||||
|
config LWIP_USING_DHCPD
|
||||||
|
bool "Enable DHCP server"
|
||||||
|
default y
|
||||||
|
endif
|
||||||
|
|
||||||
config RT_LWIP_UDP
|
config RT_LWIP_UDP
|
||||||
bool "UDP protocol"
|
bool "UDP protocol"
|
||||||
default y
|
default y
|
||||||
@ -64,6 +78,10 @@ config RT_USING_LWIP
|
|||||||
bool "PPPoS protocol"
|
bool "PPPoS protocol"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config RT_LWIP_PBUF_NUM
|
||||||
|
int "the number of PBUF"
|
||||||
|
default 16
|
||||||
|
|
||||||
config RT_LWIP_RAW_PCB_NUM
|
config RT_LWIP_RAW_PCB_NUM
|
||||||
int "the number of raw connection"
|
int "the number of raw connection"
|
||||||
default 4
|
default 4
|
||||||
@ -79,7 +97,7 @@ config RT_USING_LWIP
|
|||||||
|
|
||||||
config RT_LWIP_TCP_SEG_NUM
|
config RT_LWIP_TCP_SEG_NUM
|
||||||
int "the number of TCP segment"
|
int "the number of TCP segment"
|
||||||
default 4
|
default 40
|
||||||
|
|
||||||
config RT_LWIP_TCP_SND_BUF
|
config RT_LWIP_TCP_SND_BUF
|
||||||
int "the size of send buffer"
|
int "the size of send buffer"
|
||||||
@ -102,25 +120,41 @@ config RT_USING_LWIP
|
|||||||
int "the stack size of lwIP thread"
|
int "the stack size of lwIP thread"
|
||||||
default 1024
|
default 1024
|
||||||
|
|
||||||
|
config RT_LWIP_ETHTHREAD_PRIORITY
|
||||||
|
int "the priority level value of ethernet thread"
|
||||||
|
default 12
|
||||||
|
|
||||||
|
config RT_LWIP_ETHTHREAD_STACKSIZE
|
||||||
|
int "the stack size of ethernet thread"
|
||||||
|
default 1024
|
||||||
|
|
||||||
|
config RT_LWIP_ETHTHREAD_MBOX_SIZE
|
||||||
|
int "the number of mail in the ethernet thread mailbox"
|
||||||
|
default 8
|
||||||
|
|
||||||
config RT_LWIP_REASSEMBLY_FRAG
|
config RT_LWIP_REASSEMBLY_FRAG
|
||||||
bool "Enable IP reassembly and frag"
|
bool "Enable IP reassembly and frag"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config LWIP_NETIF_STATUS_CALLBACK
|
||||||
|
int "netif status callback"
|
||||||
|
default 1
|
||||||
|
|
||||||
config SO_REUSE
|
config SO_REUSE
|
||||||
bool "Enable SO_REUSEADDR option"
|
int "Enable SO_REUSEADDR option"
|
||||||
default n
|
default 1
|
||||||
|
|
||||||
config LWIP_SO_RCVTIMEO
|
config LWIP_SO_RCVTIMEO
|
||||||
bool "Enable receive timeout for sockets/netconns and SO_RCVTIMEO processing."
|
int "Enable receive timeout for sockets/netconns and SO_RCVTIMEO processing."
|
||||||
default n
|
default 1
|
||||||
|
|
||||||
config LWIP_SO_SNDTIMEO
|
config LWIP_SO_SNDTIMEO
|
||||||
bool "Enable send timeout for sockets/netconns and SO_SNDTIMEO processing."
|
int "Enable send timeout for sockets/netconns and SO_SNDTIMEO processing."
|
||||||
default n
|
default 1
|
||||||
|
|
||||||
config LWIP_SO_RCVBUF
|
config LWIP_SO_RCVBUF
|
||||||
bool "Enable SO_RCVBUF processing"
|
int "Enable SO_RCVBUF processing"
|
||||||
default n
|
default 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user