blob: 0f2b2d794d29a688e6a7e7f7a653ff793a2def58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
menu "Network stack"
menu "light weight TCP/IP stack"
config RT_USING_LWIP
bool "Enable lwIP stack"
default n
if RT_USING_LWIP
choice
prompt "lwIP version"
default RT_USING_LWIP141
help
Select the lwIP version
config RT_USING_LWIP141
bool "lwIP v1.4.1"
config RT_USING_LWIP200
bool "lwIP v2.0.0"
config RT_USING_LWIP202
bool "lwIP v2.0.2"
endchoice
config RT_LWIP_IGMP
bool "IGMP protocol"
default n
config RT_LWIP_ICMP
bool "ICMP protocol"
default y
config RT_LWIP_SNMP
bool "SNMP protocol"
default n
config RT_LWIP_DNS
bool "Enble DNS for name resolution"
select RT_LWIP_UDP
default y
config RT_LWIP_DHCP
bool "Enable alloc ip address through DHCP"
select RT_LWIP_UDP
default y
config RT_LWIP_UDP
bool "UDP protocol"
default y
config RT_LWIP_TCP
bool "TCP protocol"
default y
config RT_LWIP_PPP
bool "PPP protocol"
default n
config RT_LWIP_PPPOE
bool "PPPoE protocol"
default n
config RT_LWIP_PPPOS
bool "PPPoS protocol"
default n
config RT_LWIP_RAW_PCB_NUM
int "the number of raw connection"
default 4
config RT_LWIP_UDP_PCB_NUM
int "the number of UDP socket"
default 4
if RT_LWIP_TCP
config RT_LWIP_TCP_PCB_NUM
int "the number of TCP socket"
default 4
config RT_LWIP_TCP_SEG_NUM
int "the number of TCP segment"
default 4
config RT_LWIP_TCP_SND_BUF
int "the size of send buffer"
default 8196
config RT_LWIP_TCP_WND
int "the size of TCP send window"
default 8196
endif
config RT_LWIP_TCPTHREAD_PRIORITY
int "the priority level value of lwIP thread"
default 10
config RT_LWIP_TCPTHREAD_MBOX_SIZE
int "the number of mail in the lwIP thread mailbox"
default 8
config RT_LWIP_TCPTHREAD_STACKSIZE
int "the stack size of lwIP thread"
default 1024
config RT_LWIP_REASSEMBLY_FRAG
bool "Enable IP reassembly and frag"
default n
config SO_REUSE
bool "Enable SO_REUSEADDR option"
default n
config LWIP_SO_RCVTIMEO
bool "Enable receive timeout for sockets/netconns and SO_RCVTIMEO processing."
default n
config LWIP_SO_SNDTIMEO
bool "Enable send timeout for sockets/netconns and SO_SNDTIMEO processing."
default n
config LWIP_SO_RCVBUF
bool "Enable SO_RCVBUF processing"
default n
endif
endmenu
source "$RTT_DIR/components/net/freemodbus/KConfig"
endmenu
|