Skip to content

Commit 34abadc

Browse files
Cleaning MTB_USI_WM_BN_BM_22, MTB_ADV_WISE_1530 and MTB_MXCHIP_EMW3166 targets
These wiced targets are not supported at mbed-os 2 release, so removing "2" from release_versions. LWIP feature flag removed, since it isn't needed anymore. EMAC removed from device_has_add, since it isn't needed with these targets. "network-default-interface-type": "WIFI" has been added.
1 parent f3424da commit 34abadc

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

targets/targets.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,8 +1151,8 @@
11511151
"core": "Cortex-M4F",
11521152
"extra_labels_add": ["STM32F4", "STM32F412xG", "STM32F412ZG", "WICED", "CYW43362"],
11531153
"macros_add": ["USB_STM_HAL", "USBHOST_OTHER"],
1154-
"device_has_add": ["CAN", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH", "EMAC"],
1155-
"release_versions": ["2", "5"],
1154+
"device_has_add": ["CAN", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
1155+
"release_versions": ["5"],
11561156
"device_name": "STM32F412ZG",
11571157
"bootloader_supported": true,
11581158
"config": {
@@ -1161,16 +1161,19 @@
11611161
"value": "USE_PLL_HSI",
11621162
"macro_name": "CLOCK_SOURCE"
11631163
}
1164+
},
1165+
"overrides": {
1166+
"network-default-interface-type": "WIFI"
11641167
}
11651168
},
11661169
"USI_WM_BN_BM_22": {
11671170
"inherits": ["FAMILY_STM32"],
11681171
"core": "Cortex-M4F",
11691172
"extra_labels_add": ["STM32F4", "STM32F412xG", "STM32F412ZG", "WICED", "CYW4343X", "CORDIO"],
1170-
"features": ["LWIP", "BLE"],
1173+
"features": ["BLE"],
11711174
"macros_add": ["USB_STM_HAL", "USBHOST_OTHER"],
1172-
"device_has_add": ["SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH", "EMAC"],
1173-
"release_versions": ["2", "5"],
1175+
"device_has_add": ["SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
1176+
"release_versions": ["5"],
11741177
"device_name": "STM32F412ZG",
11751178
"bootloader_supported": true,
11761179
"public": false,
@@ -1180,6 +1183,9 @@
11801183
"value": "USE_PLL_HSI",
11811184
"macro_name": "CLOCK_SOURCE"
11821185
}
1186+
},
1187+
"overrides": {
1188+
"network-default-interface-type": "WIFI"
11831189
}
11841190
},
11851191
"MTB_USI_WM_BN_BM_22": {

0 commit comments

Comments
 (0)