Skip to content

Commit a437ed4

Browse files
committed
targets: Add "bare-metal" to supported_application_profiles
We weren't setting the "supported_application_profiles" correctly for some baremetal supported targets. This didn't cause build failures with mbed-cli 1 as it just seems to ignore this config parameter. In our CMake build system we have added a hard dependency on the supported_application_profiles; we fail the build if the profile we're trying to build isn't in the list.
1 parent cfc68a0 commit a437ed4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

targets/targets.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,10 @@
993993
"GCC_ARM",
994994
"IAR"
995995
],
996+
"supported_application_profiles": [
997+
"full",
998+
"bare-metal"
999+
],
9961000
"macros": [
9971001
"CPU_MK64FN1M0VMD12",
9981002
"FSL_RTOS_MBED",
@@ -4417,6 +4421,10 @@
44174421
"GCC_ARM",
44184422
"IAR"
44194423
],
4424+
"supported_application_profiles": [
4425+
"full",
4426+
"bare-metal"
4427+
],
44204428
"extra_labels": [
44214429
"NXP",
44224430
"MCUXpresso_MCUS",

0 commit comments

Comments
 (0)