Skip to content

Commit

Permalink
Merge pull request #12995 from 0xc0170/fix_target_toolchain
Browse files Browse the repository at this point in the history
build tools: fix target toolchain
  • Loading branch information
0xc0170 authored May 19, 2020
2 parents f478a21 + 1088fa0 commit 9a8c9e2
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 10 deletions.
35 changes: 26 additions & 9 deletions targets/targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@
]
},
"supported_application_profiles": [
"rtos",
"bare-metal"
],
"rtos"
],
"config": {
"console-uart": {
"help": "Target has UART console on pins STDIO_UART_TX, STDIO_UART_RX. Value is only significant if target has SERIAL device.",
Expand Down Expand Up @@ -830,7 +829,10 @@
"iar": [
"std"
]
}
},
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"SDT64B": {
"inherits": [
Expand Down Expand Up @@ -1497,7 +1499,10 @@
"MPU"
],
"bootloader_supported": true,
"device_name": "STM32F303RE"
"device_name": "STM32F303RE",
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"NUCLEO_F303ZE": {
"inherits": [
Expand Down Expand Up @@ -1648,7 +1653,10 @@
"MPU"
],
"device_name": "STM32F411RE",
"bootloader_supported": true
"bootloader_supported": true,
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"MTS_DRAGONFLY_F411RE": {
"inherits": [
Expand Down Expand Up @@ -2000,7 +2008,10 @@
"bootloader_supported": true,
"overrides": {
"network-default-interface-type": "ETHERNET"
}
},
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"DISCO_F429ZI": {
"inherits": [
Expand Down Expand Up @@ -3474,7 +3485,10 @@
"BLE"
],
"device_name": "STM32L475VG",
"bootloader_supported": true
"bootloader_supported": true,
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"NUCLEO_L476RG": {
"inherits": [
Expand Down Expand Up @@ -5716,7 +5730,10 @@
"help": "Enable inclusion of objects_extensions.h",
"value": false
}
}
},
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"ARDUINO_NANO33BLE": {
"inherits": [
Expand Down
3 changes: 2 additions & 1 deletion tools/build_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,8 @@ def get_mbed_official_release(version, profile=None):
tuple(
[
TARGET_MAP[target].name,
tuple(['ARM', 'GCC_ARM'])
tuple(transform_release_toolchains(
TARGET_MAP[target], version))
]
) for target in TARGET_NAMES \
if not profile or profile in TARGET_MAP[target].supported_application_profiles
Expand Down

0 comments on commit 9a8c9e2

Please sign in to comment.