Skip to content

Commit 021462b

Browse files
Seppo Takalogeky
authored andcommitted
Fix test builds if WICED is not enabled.
1 parent 3891eee commit 021462b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

targets/TARGET_WICED/WICED.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@ Once downloaded, copy the contents into `targets/TARGET_WICED/WICED`.
3030

3131
## Enable compilation of the WICED SDK and Mbed OS wrapper
3232

33-
To enable compilation of the WICED SDK, add the label `WICED` to the `target.extra_labels`
33+
To enable compilation of the WICED SDK, add the label `WICED` to the `target.extra_labels` and 'BLE' to the `target.features_add`
3434
in your mbed_app.json:
3535

3636
``` json
3737
{
3838
"target_overrides": {
39-
"*": {
40-
"target.extra_labels_add": ["WICED"]
39+
"WISE1530_F412RE": {
40+
"target.extra_labels_add": ["WICED"],
41+
"target.features_add": ["BLE"]
4142
}
4243
}
4344
}

targets/targets.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,8 +1131,7 @@
11311131
},
11321132
"device_has_add": ["LOWPOWERTIMER", "SERIAL_ASYNCH", "SERIAL_FC"],
11331133
"release_versions": ["5"],
1134-
"device_name": "STM32F412RE",
1135-
"features": ["BLE"]
1134+
"device_name": "STM32F412RE"
11361135
},
11371136
"DISCO_F413ZH": {
11381137
"inherits": ["FAMILY_STM32"],

0 commit comments

Comments
 (0)