@@ -234,6 +234,16 @@ content at minimum:
234
234
235
235
```
236
236
{
237
+ "config": {
238
+ "echo-server-addr" : {
239
+ "help" : "IP address of echo server",
240
+ "value" : "\"echo.mbedcloudtesting.com\""
241
+ },
242
+ "echo-server-port" : {
243
+ "help" : "Port of echo server",
244
+ "value" : "7"
245
+ }
246
+ },
237
247
"macros": ["MBED_EXTENDED_TESTS"]
238
248
}
239
249
```
@@ -257,7 +267,7 @@ the `mbed_app.json` might look like this:
257
267
"value": "\"password\""
258
268
},
259
269
"wifi-secure-protocol": {
260
- "help": "WiFi security protocol, valid values are WEP, WPA, WPA2, WPA/WPA2 ",
270
+ "help": "WiFi security protocol, valid values are WEP, WPA, WPA2, WPA_WPA2 ",
261
271
"value": "\"WPA2\""
262
272
},
263
273
"wifi-ch-secure": {
@@ -280,17 +290,6 @@ the `mbed_app.json` might look like this:
280
290
"help": "How many networks may appear in Wifi scan result",
281
291
"value": 30
282
292
},
283
- "header-file": {
284
- "help" : "String for including your driver header file",
285
- "value" : "\"MyWifiInterface.h\""
286
- },
287
- "object-construction" : {
288
- "value" : "new MyWifiInterface()"
289
- },
290
- "connect-statement" : {
291
- "help" : "Must use 'net' variable name",
292
- "value" : "net->wifiInterface()->connect(MBED_CONF_APP_WIFI_SECURE_SSID, MBED_CONF_APP_WIFI_PASSWORD, NSAPI_SECURITY_WPA_WPA2)"
293
- },
294
293
"echo-server-addr" : {
295
294
"help" : "IP address of echo server",
296
295
"value" : "\"echo.mbedcloudtesting.com\""
@@ -300,9 +299,18 @@ the `mbed_app.json` might look like this:
300
299
"value" : "7"
301
300
}
302
301
},
303
- "macros": ["MBED_EXTENDED_TESTS"]
302
+ "macros": ["MBED_EXTENDED_TESTS"],
303
+ "target_overrides": {
304
+ "*": {
305
+ "target.network-default-interface-type": "WIFI",
306
+ "nsapi.default-wifi-ssid": "\"WIFI_SSID\"",
307
+ "nsapi.default-wifi-password": "\"WIFI_PASSWORD\"",
308
+ "nsapi.default-wifi-security": "WPA_WPA2"
309
+ }
310
+ }
304
311
}
305
312
```
313
+ See ` mbed-os/tools/test_configs ` folder for examples.
306
314
307
315
Now build test binaries:
308
316
0 commit comments