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": [ "supported_application_profiles": [
"rtos", "rtos"
"bare-metal" ],
],
"config": { "config": {
"console-uart": { "console-uart": {
"help": "Target has UART console on pins STDIO_UART_TX, STDIO_UART_RX. Value is only significant if target has SERIAL device.", "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": [ "iar": [
"std" "std"
] ]
} },
"supported_application_profiles": [
"rtos", "bare-metal"
]
}, },
"SDT64B": { "SDT64B": {
"inherits": [ "inherits": [
@ -1497,7 +1499,10 @@
"MPU" "MPU"
], ],
"bootloader_supported": true, "bootloader_supported": true,
"device_name": "STM32F303RE" "device_name": "STM32F303RE",
"supported_application_profiles": [
"rtos", "bare-metal"
]
}, },
"NUCLEO_F303ZE": { "NUCLEO_F303ZE": {
"inherits": [ "inherits": [
@ -1648,7 +1653,10 @@
"MPU" "MPU"
], ],
"device_name": "STM32F411RE", "device_name": "STM32F411RE",
"bootloader_supported": true "bootloader_supported": true,
"supported_application_profiles": [
"rtos", "bare-metal"
]
}, },
"MTS_DRAGONFLY_F411RE": { "MTS_DRAGONFLY_F411RE": {
"inherits": [ "inherits": [
@ -2000,7 +2008,10 @@
"bootloader_supported": true, "bootloader_supported": true,
"overrides": { "overrides": {
"network-default-interface-type": "ETHERNET" "network-default-interface-type": "ETHERNET"
} },
"supported_application_profiles": [
"rtos", "bare-metal"
]
}, },
"DISCO_F429ZI": { "DISCO_F429ZI": {
"inherits": [ "inherits": [
@ -3474,7 +3485,10 @@
"BLE" "BLE"
], ],
"device_name": "STM32L475VG", "device_name": "STM32L475VG",
"bootloader_supported": true "bootloader_supported": true,
"supported_application_profiles": [
"rtos", "bare-metal"
]
}, },
"NUCLEO_L476RG": { "NUCLEO_L476RG": {
"inherits": [ "inherits": [
@ -5716,7 +5730,10 @@
"help": "Enable inclusion of objects_extensions.h", "help": "Enable inclusion of objects_extensions.h",
"value": false "value": false
} }
} },
"supported_application_profiles": [
"rtos", "bare-metal"
]
}, },
"ARDUINO_NANO33BLE": { "ARDUINO_NANO33BLE": {
"inherits": [ "inherits": [

View File

@ -424,7 +424,8 @@ def get_mbed_official_release(version, profile=None):
tuple( tuple(
[ [
TARGET_MAP[target].name, TARGET_MAP[target].name,
tuple(['ARM', 'GCC_ARM']) tuple(transform_release_toolchains(
TARGET_MAP[target], version))
] ]
) for target in TARGET_NAMES \ ) for target in TARGET_NAMES \
if not profile or profile in TARGET_MAP[target].supported_application_profiles if not profile or profile in TARGET_MAP[target].supported_application_profiles