Skip to content

Commit d216602

Browse files
author
Cruz Monrreal
authored
Merge pull request #7067 from jeromecoutant/PR_ISM43362
Add ISM43362 driver support for STM32 wifi DISCO boards
2 parents e10a3b3 + 0c6844d commit d216602

File tree

3 files changed

+81
-0
lines changed

3 files changed

+81
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"config": {
3+
"header-file": {
4+
"help" : "String for including your driver header file",
5+
"value" : "\"ISM43362Interface.h\""
6+
},
7+
"object-construction" : {
8+
"value" : "new ISM43362Interface()"
9+
},
10+
"connect-statement" : {
11+
"help" : "Must use 'net' variable name",
12+
"value" : "net->wifiInterface()->connect(MBED_CONF_APP_WIFI_SECURE_SSID, MBED_CONF_APP_WIFI_PASSWORD, NSAPI_SECURITY_WPA_WPA2)"
13+
},
14+
"echo-server-addr" : {
15+
"help" : "IP address of echo server",
16+
"value" : "\"echo.mbedcloudtesting.com\""
17+
},
18+
"echo-server-port" : {
19+
"help" : "Port of echo server",
20+
"value" : "7"
21+
},
22+
"tcp-echo-prefix" : {
23+
"help" : "Some servers send a prefix before echoed message",
24+
"value" : null
25+
},
26+
"tcp-client-echo-buffer-size" : {
27+
"help" : "Number of bytes to be send to echo server",
28+
"value" : "200"
29+
},
30+
"wifi-secure-ssid": {
31+
"help": "WiFi SSID for WPA2 secured network",
32+
"value": "\"SSID-SECURE\""
33+
},
34+
"wifi-unsecure-ssid": {
35+
"help": "WiFi SSID for unsecure network",
36+
"value": "\"SSID-UNSECURE\""
37+
},
38+
"wifi-password": {
39+
"help": "WiFi Password",
40+
"value": "\"PASSWORD\""
41+
},
42+
"wifi-secure-protocol": {
43+
"help": "WiFi security protocol, valid values are WEP, WPA, WPA2, WPA/WPA2",
44+
"value": "\"WPA2\""
45+
},
46+
"wifi-ch-secure": {
47+
"help": "Channel number of secure SSID",
48+
"value": 1
49+
},
50+
"wifi-ch-unsecure": {
51+
"help": "Channel number of unsecure SSID",
52+
"value": 2
53+
},
54+
"ap-mac-secure": {
55+
"help": "BSSID of secure AP in form of AA:BB:CC:DD:EE:FF",
56+
"value": "\"AA:AA:AA:AA:AA:AA\""
57+
},
58+
"ap-mac-unsecure": {
59+
"help": "BSSID of unsecure AP in form of \"AA:BB:CC:DD:EE:FF\"",
60+
"value": "\"BB:BB:BB:BB:BB:BB\""
61+
},
62+
"max-scan-size": {
63+
"help": "How many networks may appear in Wifi scan result",
64+
"value": 10
65+
}
66+
},
67+
"target_overrides": {
68+
"*": {
69+
"platform.stdio-convert-newlines": true
70+
}
71+
}
72+
}

tools/test_configs/config_paths.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"REALTEK_WIFI" : "RealtekInterface.json",
88
"ESP8266_WIFI" : "ESP8266Interface.json",
99
"WICED_WIFI" : "WicedInterface.json",
10+
"ISM43362_WIFI" : "ISM43362Interface.json",
1011
"IDW0XX1_WIFI" : "SpwfSAInterface.json"
1112
}

tools/test_configs/target_configs.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
"default_test_configuration": "HEAPBLOCKDEVICE_AND_ETHERNET",
1616
"test_configurations": ["HEAPBLOCKDEVICE_AND_ETHERNET"]
1717
},
18+
"DISCO_L475VG_IOT01A": {
19+
"default_test_configuration": "NONE",
20+
"test_configurations": ["ISM43362_WIFI"]
21+
},
22+
"DISCO_F413ZH": {
23+
"default_test_configuration": "NONE",
24+
"test_configurations": ["ISM43362_WIFI"]
25+
},
1826
"MTB_UBLOX_ODIN_W2": {
1927
"default_test_configuration": "NONE",
2028
"test_configurations": ["ODIN_WIFI"]

0 commit comments

Comments
 (0)