Skip to content

Commit d6fbda3

Browse files
committed
targets: add rtos profile by default
Every target is assumed to supported Mbed OS. If its not the case, it supports only baremetal. Thus removing rtos, and adding bare-metal to the app profile.
1 parent 07084a5 commit d6fbda3

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

targets/targets.json

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
"std"
3333
]
3434
},
35+
"supported_application_profiles": [
36+
"rtos"
37+
],
3538
"config": {
3639
"console-uart": {
3740
"help": "Target has UART console on pins STDIO_UART_TX, STDIO_UART_RX. Value is only significant if target has SERIAL device.",
@@ -313,7 +316,12 @@
313316
]
314317
},
315318
"c_lib": "small",
316-
"supported_application_profiles": ["bare-metal"],
319+
"supported_application_profiles_add": [
320+
"bare-metal"
321+
],
322+
"supported_application_profiles_remove": [
323+
"rtos"
324+
],
317325
"device_name": "LPC1114FN28/102",
318326
"detect_code": [
319327
"1114"
@@ -1225,9 +1233,12 @@
12251233
],
12261234
"public": false,
12271235
"c_lib": "small",
1228-
"supported_application_profiles": [
1236+
"supported_application_profiles_add": [
12291237
"bare-metal"
12301238
],
1239+
"supported_application_profiles_remove": [
1240+
"rtos"
1241+
],
12311242
"overrides": {
12321243
"boot-stack-size": "0x400"
12331244
}
@@ -5915,9 +5926,12 @@
59155926
]
59165927
},
59175928
"c_lib": "small",
5918-
"supported_application_profiles": [
5929+
"supported_application_profiles_add": [
59195930
"bare-metal"
59205931
],
5932+
"supported_application_profiles_remove": [
5933+
"rtos"
5934+
],
59215935
"sectors": [
59225936
[
59235937
0,
@@ -6023,9 +6037,12 @@
60236037
]
60246038
},
60256039
"c_lib": "small",
6026-
"supported_application_profiles": [
6040+
"supported_application_profiles_add": [
60276041
"bare-metal"
60286042
],
6043+
"supported_application_profiles_remove": [
6044+
"rtos"
6045+
],
60296046
"device_name": "NANO130KE3BN",
60306047
"overrides": {
60316048
"deep-sleep-latency": 1,

0 commit comments

Comments
 (0)