You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 24, 2019. It is now read-only.
*[X-NUCLEO-IDS01A4](https://github.com/ARMmbed/stm-spirit1-rf-driver) (*a.k.a.* Spirit1) radio shields. Check instructions for compilation [here](#compile-configuration-for-spirit1)
68
+
*[X-NUCLEO-IDS01A4](https://github.com/ARMmbed/stm-spirit1-rf-driver) (*a.k.a.* Spirit1) radio shields. Check instructions for compilation [here](#compile-configuration-for-spirit1).
69
69
70
70
To select the radio shield make sure that the `mbed_app.json` file points to the correct radio driver type:
71
71
@@ -122,12 +122,12 @@ For sub-GHz shields ([Spirit1](https://github.com/ARMmbed/stm-spirit1-rf-driver)
122
122
123
123
```json
124
124
"mbed-mesh-api.6lowpan-nd-channel-page": 2,
125
-
"mbed-mesh-api.6lowpan-nd-channel": 1
125
+
"mbed-mesh-api.6lowpan-nd-channel": 1,
126
+
"mbed-mesh-api.6lowpan-nd-channel-mask": "(1<<1)"
126
127
```
127
128
128
129
For more information about the radio shields, see [the related documentation](docs/radio_module_identify.md).
129
130
130
-
=======
131
131
#### Supported combinations of board and shields
132
132
133
133
See Mesh-minimal's [Notes on different hardware](https://github.com/ARMmbed/mbed-os-example-mesh-minimal/blob/master/Hardware.md) for known combinations of development boards and RF shields that have been tested with mesh networking stack.
@@ -155,6 +155,7 @@ With Thread, you can change the operating mode of the client from the default ro
155
155
* UBLOX_EVK_ODIN_W2. Check instructions for compilation [here](#compile-configuration-for-odin-wifi).
156
156
* K64F + GROVE SEEED shield using [ESP8266](https://en.wikipedia.org/wiki/ESP8266) WiFi module.
157
157
* NUCLEO_F429ZI + GROVE SEEED shield using [ESP8266](https://en.wikipedia.org/wiki/ESP8266) WiFi module.
To run this application using ESP8266 WiFi Interface, you need:
160
161
@@ -166,8 +167,8 @@ To run this application using ESP8266 WiFi Interface, you need:
166
167
167
168
```json
168
169
"network-interface": {
169
-
"help": "options are ETHERNET,WIFI,MESH_LOWPAN_ND,MESH_THREAD.",
170
-
"value": "WIFI"
170
+
"help": "options are ETHERNET,WIFI_ESP8266,WIFI_IDW0XX1,WIFI_ODIN,MESH_LOWPAN_ND,MESH_THREAD.",
171
+
"value": "WIFI_ESP8266"
171
172
}
172
173
```
173
174
@@ -201,14 +202,36 @@ For example, NUCLEO_F401RE requires a different serial connection:
201
202
202
203
#### Compile configuration for ODIN WiFi
203
204
204
-
To compile ODIN WiFi configuration, you need to tell mbed NOT to compile the related files. To do that, set up a `.mbedignore` file. An example file is available in the `configs` folder.
205
+
To compile ODIN WiFi configuration, you need to tell mbed NOT to compile mesh files for example. To do that, set up a `.mbedignore` file. An example file is available in the `configs` folder.
205
206
206
207
This should resolve the issue:
207
208
208
-
```
209
-
cp configs/eth-wifi-mbedignore ./.mbedignore
210
-
```
211
-
209
+
```bash
210
+
cp configs/wifi_odin_v4.json mbed_app.json
211
+
<use your favourite editor to modify mbed_app.json for WiFi details>
212
+
cp configs/mesh-mbedignore ./.mbedignore
213
+
```
214
+
215
+
#### Compile configuration for STM `X-NUCLEO-IDW0XX1` WiFi expansion boards
216
+
217
+
Currently, two STM WiFi expansion boards are available:
218
+
-`X-NUCLEO-IDW01M1`, which is the Morpho form-factor board, and
219
+
-`X-NUCLEO-IDW04A1`, which is the Arduino form-factor board.
220
+
221
+
The label is clearly printed on the PCB.
222
+
223
+
To compile STM X-NUCLEO WiFi configuration, you need to tell mbed NOT to compile mesh files for example. To do that, set up a `.mbedignore` file. Example files are available in the `configs` folder.
224
+
225
+
This should resolve the issue (example for `X-NUCLEO-IDW01M1`):
226
+
227
+
```bash
228
+
cp configs/wifi_idw01m1_v4.json mbed_app.json
229
+
<use your favourite editor to modify mbed_app.json for WiFi details>
230
+
cp configs/mesh-mbedignore ./.mbedignore
231
+
```
232
+
233
+
If you have issues with the `X-NUCLEO-IDW04A1` board, please double-check that macro `IDW04A1_WIFI_HW_BUG_WA` has been added to the `macros` section of the `mbed_app.json` file.
234
+
212
235
### Non listed board support
213
236
214
237
Apart from the listed configurations, this example can work on other Mbed OS supported hardware boards which support any of the given network interface including Ethernet, WiFi, Mesh (6LoWPAN) or Thread, provided the configuration fulfills condition that the target hardware has TLS entropy implemented for it. On devices where hardware entropy is not present, TLS is disabled by default. This would result in compile time failures or linking failures.
0 commit comments