Skip to content

Commit 2ce7eab

Browse files
committed
add mbed os defines to mbed targets
1 parent 4f59006 commit 2ce7eab

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

workspace_tools/targets.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
"""
1717

1818
CORE_LABELS = {
19-
"ARM7TDMI-S": ["ARM7"],
20-
"Cortex-M0" : ["M0", "CORTEX_M"],
21-
"Cortex-M0+": ["M0P", "CORTEX_M"],
22-
"Cortex-M1" : ["M1", "CORTEX_M"],
23-
"Cortex-M3" : ["M3", "CORTEX_M"],
24-
"Cortex-M4" : ["M4", "CORTEX_M", "RTOS_M4_M7"],
25-
"Cortex-M4F" : ["M4", "CORTEX_M", "RTOS_M4_M7"],
26-
"Cortex-M7" : ["M7", "CORTEX_M", "RTOS_M4_M7"],
27-
"Cortex-M7F" : ["M7", "CORTEX_M", "RTOS_M4_M7"],
28-
"Cortex-A9" : ["A9", "CORTEX_A"]
19+
"ARM7TDMI-S": ["ARM7", "TARGET_LIKE_CORTEX_ARM7"],
20+
"Cortex-M0" : ["M0", "CORTEX_M", "TARGET_LIKE_CORTEX_M0"],
21+
"Cortex-M0+": ["M0P", "CORTEX_M", "TARGET_LIKE_CORTEX_M0"],
22+
"Cortex-M1" : ["M1", "CORTEX_M", "TARGET_LIKE_CORTEX_M1"],
23+
"Cortex-M3" : ["M3", "CORTEX_M", "TARGET_LIKE_CORTEX_M3"],
24+
"Cortex-M4" : ["M4", "CORTEX_M", "RTOS_M4_M7", "TARGET_LIKE_CORTEX_M4"],
25+
"Cortex-M4F" : ["M4", "CORTEX_M", "RTOS_M4_M7", "TARGET_LIKE_CORTEX_M4"],
26+
"Cortex-M7" : ["M7", "CORTEX_M", "RTOS_M4_M7", "TARGET_LIKE_CORTEX_M7"],
27+
"Cortex-M7F" : ["M7", "CORTEX_M", "RTOS_M4_M7", "TARGET_LIKE_CORTEX_M7"],
28+
"Cortex-A9" : ["A9", "CORTEX_A", "TARGET_LIKE_CORTEX_A9"]
2929
}
3030

3131
import os

0 commit comments

Comments
 (0)