Skip to content

Commit 5b92916

Browse files
committed
rebase mbed_lib.json to upstream/master
1 parent 948e989 commit 5b92916

File tree

1 file changed

+47
-19
lines changed

1 file changed

+47
-19
lines changed

features/lwipstack/mbed_lib.json

Lines changed: 47 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
"help": "Address timeout mode; true: wait both stack's addresses; false: wait for preferred stack's address",
2222
"value": true
2323
},
24+
"dhcp-timeout": {
25+
"help": "DHCP timeout value",
26+
"value": 60
27+
},
2428
"ethernet-enabled": {
2529
"help": "Enable support for Ethernet interfaces",
2630
"value": true
@@ -74,28 +78,44 @@
7478
"value": 4
7579
},
7680
"memp-num-tcp-seg": {
77-
"help": "Number of simultaneously queued TCP segments. Current default (used if null here) is set to 16 in opt.h, unless overridden by target Ethernet drivers.",
78-
"value": null
81+
"help": "Number of simultaneously queued TCP segments, see LWIP opt.h for more information. Current default is 16.",
82+
"value": 16
83+
},
84+
"memp-num-tcpip-msg-inpkt": {
85+
"help": "Number of simultaneously queued TCP messages that are received",
86+
"value": 8
7987
},
8088
"tcp-mss": {
81-
"help": "TCP Maximum segment size. Current default (used if null here) is set to 536 in opt.h, unless overridden by target Ethernet drivers.",
82-
"value": null
89+
"help": "TCP Maximum segment size, see LWIP opt.h for more information. Current default is 536.",
90+
"value": 536
91+
},
92+
"tcpip-mbox-size": {
93+
"help": "TCPIP mailbox size",
94+
"value": 8
95+
},
96+
"default-tcp-recvmbox-size": {
97+
"help": "Default TCPIP receive mailbox size",
98+
"value": 8
99+
},
100+
"mbox-size": {
101+
"help": "mailbox size",
102+
"value": 8
83103
},
84104
"tcp-snd-buf": {
85-
"help": "TCP sender buffer space (bytes). Current default (used if null here) is set to (2 * TCP_MSS) in opt.h, unless overridden by target Ethernet drivers.",
86-
"value": null
105+
"help": "TCP sender buffer space (bytes), see LWIP's opt.h for more information. Current default is (2 * TCP_MSS).",
106+
"value": "(2 * TCP_MSS)"
87107
},
88108
"tcp-wnd": {
89-
"help": "TCP sender buffer space (bytes). Current default (used if null here) is set to (4 * TCP_MSS) in opt.h, unless overridden by target Ethernet drivers.",
90-
"value": null
109+
"help": "TCP sender buffer space (bytes), see LWIP's opt.h for more information. Current default is (4 * TCP_MSS).",
110+
"value": "(4 * TCP_MSS)"
91111
},
92112
"tcp-maxrtx": {
93-
"help": "Maximum number of retransmissions of data segments.",
113+
"help": "Maximum number of retransmissions of data segments, see LWIP's opt.h for more information. Current default is 6.",
94114
"value": 6
95115
},
96116
"tcp-synmaxrtx": {
97-
"help": "Maximum number of retransmissions of SYN segments. Current default (used if null here) is set to 6 in opt.h",
98-
"value": null
117+
"help": "Maximum number of retransmissions of SYN segments, see LWIP's opt.h for more information. Current default is 6.",
118+
"value": 6
99119
},
100120
"tcp-close-timeout": {
101121
"help": "Maximum timeout (ms) for TCP close handshaking timeout",
@@ -106,16 +126,16 @@
106126
"value": "osPriorityNormal"
107127
},
108128
"pbuf-pool-size": {
109-
"help": "Number of pbufs in pool - usually used for received packets, so this determines how much data can be buffered between reception and the application reading. If a driver uses PBUF_RAM for reception, less pool may be needed. Current default (used if null here) is set to 5 in lwipopts.h, unless overridden by target Ethernet drivers.",
110-
"value": null
129+
"help": "Number of pbufs in pool - usually used for received packets, so this determines how much data can be buffered between reception and the application reading, see LWIP's opt.h for more information. If a driver uses PBUF_RAM for reception, less pool may be needed. Current default is 5.",
130+
"value": 5
111131
},
112132
"pbuf-pool-bufsize": {
113-
"help": "Size of pbufs in pool. If set to null, lwIP will base the size on the TCP MSS, which is 536 unless overridden by the target",
133+
"help": "Size of pbufs in pool, see LWIP's opt.h for more information.",
114134
"value": null
115135
},
116136
"mem-size": {
117-
"help": "Size of heap (bytes) - used for outgoing packets, and also used by some drivers for reception. Current default (used if null here) is set to 1600 in opt.h, unless overridden by target Ethernet drivers.",
118-
"value": null
137+
"help": "Size of heap (bytes) - used for outgoing packets, and also used by some drivers for reception, see LWIP's opt.h for more information. Current default is 1600.",
138+
"value": 1600
119139
},
120140
"tcpip-thread-stacksize": {
121141
"help": "Stack size for lwip TCPIP thread",
@@ -129,10 +149,18 @@
129149
"help": "Thread stack size for PPP (obsolete: use netsocket/ppp configuration instead)",
130150
"value": 768
131151
},
152+
"num-pbuf": {
153+
"help": "Number of non-pool pbufs, each needs 92 bytes of RAM, see LWIP's opt.h for more information. Current default is 8.",
154+
"value": 8
155+
},
156+
"num-netbuf": {
157+
"help": "Number of netbufs, each netbuf requires 64 bytes of RAM, see LWIP's opt.h for more information. Current default is 8.",
158+
"value": 8
159+
},
132160
"raw-socket-enabled": {
133-
"help": "Enable lwip raw sockets, required for Mbed OS ICMPSocket",
134-
"value": false
135-
}
161+
"help": "Enable lwip raw sockets, required for Mbed OS ICMPSocket",
162+
"value": false
163+
}
136164
},
137165
"target_overrides": {
138166
"REALTEK_RTL8195AM": {

0 commit comments

Comments
 (0)