|
1 | 1 | """
|
2 | 2 | mbed SDK
|
3 |
| -Copyright (c) 2011-2015 ARM Limited |
| 3 | +Copyright (c) 2011-2016 ARM Limited |
4 | 4 |
|
5 | 5 | Licensed under the Apache License, Version 2.0 (the "License");
|
6 | 6 | you may not use this file except in compliance with the License.
|
|
16 | 16 | """
|
17 | 17 |
|
18 | 18 | 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", "LIKE_CORTEX_ARM7"], |
| 20 | + "Cortex-M0" : ["M0", "CORTEX_M", "LIKE_CORTEX_M0"], |
| 21 | + "Cortex-M0+": ["M0P", "CORTEX_M", "LIKE_CORTEX_M0"], |
| 22 | + "Cortex-M1" : ["M1", "CORTEX_M", "LIKE_CORTEX_M1"], |
| 23 | + "Cortex-M3" : ["M3", "CORTEX_M", "LIKE_CORTEX_M3"], |
| 24 | + "Cortex-M4" : ["M4", "CORTEX_M", "RTOS_M4_M7", "LIKE_CORTEX_M4"], |
| 25 | + "Cortex-M4F" : ["M4", "CORTEX_M", "RTOS_M4_M7", "LIKE_CORTEX_M4"], |
| 26 | + "Cortex-M7" : ["M7", "CORTEX_M", "RTOS_M4_M7", "LIKE_CORTEX_M7"], |
| 27 | + "Cortex-M7F" : ["M7", "CORTEX_M", "RTOS_M4_M7", "LIKE_CORTEX_M7"], |
| 28 | + "Cortex-A9" : ["A9", "CORTEX_A", "LIKE_CORTEX_A9"] |
29 | 29 | }
|
30 | 30 |
|
31 | 31 | import os
|
|
0 commit comments