Merge pull request #12995 from 0xc0170/fix_target_toolchain

build tools: fix target toolchain
pull/12998/head mbed-os-6.0.0-rc1
Martin Kojtal 2020-05-19 17:51:57 +02:00 committed by GitHub
commit 9a8c9e2c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 10 deletions

View File

@ -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.",
@ -830,7 +829,10 @@
"iar": [
"std"
]
}
},
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"SDT64B": {
"inherits": [
@ -1497,7 +1499,10 @@
"MPU"
],
"bootloader_supported": true,
"device_name": "STM32F303RE"
"device_name": "STM32F303RE",
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"NUCLEO_F303ZE": {
"inherits": [
@ -1648,7 +1653,10 @@
"MPU"
],
"device_name": "STM32F411RE",
"bootloader_supported": true
"bootloader_supported": true,
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"MTS_DRAGONFLY_F411RE": {
"inherits": [
@ -2000,7 +2008,10 @@
"bootloader_supported": true,
"overrides": {
"network-default-interface-type": "ETHERNET"
}
},
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"DISCO_F429ZI": {
"inherits": [
@ -3474,7 +3485,10 @@
"BLE"
],
"device_name": "STM32L475VG",
"bootloader_supported": true
"bootloader_supported": true,
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"NUCLEO_L476RG": {
"inherits": [
@ -5716,7 +5730,10 @@
"help": "Enable inclusion of objects_extensions.h",
"value": false
}
}
},
"supported_application_profiles": [
"rtos", "bare-metal"
]
},
"ARDUINO_NANO33BLE": {
"inherits": [

View File

@ -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