Skip to content

Commit 3891eee

Browse files
committed
Disabled WICED compilation by default
1 parent 808e889 commit 3891eee

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

targets/TARGET_WICED/WICED.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@ http://ess-wiki.advantech.com.tw/wiki/images/4/44/WM-BN-BM-22_SDK_5.1.x_platform
2828

2929
Once downloaded, copy the contents into `targets/TARGET_WICED/WICED`.
3030

31+
## Enable compilation of the WICED SDK and Mbed OS wrapper
32+
33+
To enable compilation of the WICED SDK, add the label `WICED` to the `target.extra_labels`
34+
in your mbed_app.json:
35+
36+
``` json
37+
{
38+
"target_overrides": {
39+
"*": {
40+
"target.extra_labels_add": ["WICED"]
41+
}
42+
}
43+
}
44+
```
45+
3146
## Modify the WICED SDK to support Mbed OS's build tools
3247

3348
1. Remove these files because they are unnecessary and large:

targets/targets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@
11211121
"WISE1530_F412RE": {
11221122
"inherits": ["FAMILY_STM32"],
11231123
"core": "Cortex-M4F",
1124-
"extra_labels_add": ["STM", "STM32F4", "Advantech_F412RE", "CORDIO", "WICED"],
1124+
"extra_labels_add": ["STM", "STM32F4", "Advantech_F412RE", "CORDIO"],
11251125
"config": {
11261126
"clock_source": {
11271127
"help": "Mask value : USE_PLL_HSE_EXTC | USE_PLL_HSE_XTAL (need HW patch) | USE_PLL_HSI",

0 commit comments

Comments
 (0)