add mbed os defines to mbed targets

pull/1526/head
Sam Grove 2016-02-05 00:59:00 -06:00
parent 4f59006467
commit 2ce7eab989
1 changed files with 10 additions and 10 deletions

View File

@ -16,16 +16,16 @@ limitations under the License.
"""
CORE_LABELS = {
"ARM7TDMI-S": ["ARM7"],
"Cortex-M0" : ["M0", "CORTEX_M"],
"Cortex-M0+": ["M0P", "CORTEX_M"],
"Cortex-M1" : ["M1", "CORTEX_M"],
"Cortex-M3" : ["M3", "CORTEX_M"],
"Cortex-M4" : ["M4", "CORTEX_M", "RTOS_M4_M7"],
"Cortex-M4F" : ["M4", "CORTEX_M", "RTOS_M4_M7"],
"Cortex-M7" : ["M7", "CORTEX_M", "RTOS_M4_M7"],
"Cortex-M7F" : ["M7", "CORTEX_M", "RTOS_M4_M7"],
"Cortex-A9" : ["A9", "CORTEX_A"]
"ARM7TDMI-S": ["ARM7", "TARGET_LIKE_CORTEX_ARM7"],
"Cortex-M0" : ["M0", "CORTEX_M", "TARGET_LIKE_CORTEX_M0"],
"Cortex-M0+": ["M0P", "CORTEX_M", "TARGET_LIKE_CORTEX_M0"],
"Cortex-M1" : ["M1", "CORTEX_M", "TARGET_LIKE_CORTEX_M1"],
"Cortex-M3" : ["M3", "CORTEX_M", "TARGET_LIKE_CORTEX_M3"],
"Cortex-M4" : ["M4", "CORTEX_M", "RTOS_M4_M7", "TARGET_LIKE_CORTEX_M4"],
"Cortex-M4F" : ["M4", "CORTEX_M", "RTOS_M4_M7", "TARGET_LIKE_CORTEX_M4"],
"Cortex-M7" : ["M7", "CORTEX_M", "RTOS_M4_M7", "TARGET_LIKE_CORTEX_M7"],
"Cortex-M7F" : ["M7", "CORTEX_M", "RTOS_M4_M7", "TARGET_LIKE_CORTEX_M7"],
"Cortex-A9" : ["A9", "CORTEX_A", "TARGET_LIKE_CORTEX_A9"]
}
import os