Skip to content

Commit 4e60d2f

Browse files
author
Mika Leppänen
committed
Corrected PPP thread stack sizes and network interface
Corrected PPP thread stack size for RZ_A1_EMAC, CYW943012P6EVB_01, CY8CPROTO_062_4343W, CY8CKIT_062_WIFI_BT and CY8CKIT_062S2_43012 that have special configuration for PPP thread size. Removed pppInterface() helper call from network interface. It causes binary compatibility break with precompiled network interface classes. Call is helper function to check network interface type in case it is unknown, and is not mandatory or used with PPP.
1 parent ab3a469 commit 4e60d2f

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

features/lwipstack/mbed_lib.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@
168168
"RZ_A1_EMAC": {
169169
"tcpip-thread-stacksize": 1328,
170170
"default-thread-stacksize": 640,
171-
"ppp-thread-stacksize": 896,
172171
"memp-num-tcp-seg": 32,
173172
"tcp-mss": 1440,
174173
"tcp-snd-buf": "(8 * TCP_MSS)",
@@ -179,7 +178,6 @@
179178
"CYW943012P6EVB_01": {
180179
"tcpip-thread-stacksize": 8192,
181180
"default-thread-stacksize": 640,
182-
"ppp-thread-stacksize": 896,
183181
"memp-num-tcp-seg": 24,
184182
"tcp-socket-max": 10,
185183
"udp-socket-max":10,
@@ -193,7 +191,6 @@
193191
"CY8CPROTO_062_4343W": {
194192
"tcpip-thread-stacksize": 8192,
195193
"default-thread-stacksize": 640,
196-
"ppp-thread-stacksize": 896,
197194
"memp-num-tcp-seg": 24,
198195
"tcp-socket-max": 10,
199196
"udp-socket-max":10,
@@ -207,7 +204,6 @@
207204
"CY8CKIT_062_WIFI_BT": {
208205
"tcpip-thread-stacksize": 8192,
209206
"default-thread-stacksize": 640,
210-
"ppp-thread-stacksize": 896,
211207
"memp-num-tcp-seg": 48,
212208
"tcp-socket-max": 10,
213209
"udp-socket-max":10,
@@ -221,7 +217,6 @@
221217
"CY8CKIT_062S2_43012": {
222218
"tcpip-thread-stacksize": 8192,
223219
"default-thread-stacksize": 640,
224-
"ppp-thread-stacksize": 896,
225220
"memp-num-tcp-seg": 24,
226221
"tcp-socket-max": 10,
227222
"udp-socket-max":10,

features/netsocket/NetworkInterface.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,6 @@ class NetworkInterface: public DNS {
339339
return 0;
340340
}
341341

342-
/** Return pointer to a PPPInterface.
343-
* @return Pointer to requested interface type or NULL if this class doesn't implement the interface.
344-
*/
345-
virtual PPPInterface *pppInterface()
346-
{
347-
return 0;
348-
}
349-
350342
/** Return pointer to a CellularInterface.
351343
* @return Pointer to requested interface type or NULL if this class doesn't implement the interface.
352344
* @deprecated CellularBase migrated to CellularInterface - use cellularInterface()

features/netsocket/ppp/mbed_lib.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,19 @@
3434
},
3535
"target_overrides": {
3636
"RZ_A1_EMAC": {
37-
"ppp-thread-stacksize": 896
37+
"thread-stacksize": 896
38+
},
39+
"CYW943012P6EVB_01": {
40+
"thread-stacksize": 896
41+
},
42+
"CY8CPROTO_062_4343W": {
43+
"thread-stacksize": 896
44+
},
45+
"CY8CKIT_062_WIFI_BT": {
46+
"thread-stacksize": 896
47+
},
48+
"CY8CKIT_062S2_43012": {
49+
"thread-stacksize": 896
3850
}
3951
}
4052
}

0 commit comments

Comments
 (0)