]> begriffs open source - cmsis/blob - CMSIS/CoreValidation/Tests/RTE_Components.h
CoreValidation: Fixed Cortex-A Scatter files for armcc and armclang.
[cmsis] / CMSIS / CoreValidation / Tests / RTE_Components.h
1 #ifndef RTE_COMPONENTS_H
2 #define RTE_COMPONENTS_H
3
4 #if defined(ARMCM0)
5 #define CMSIS_device_header "ARMCM0.h"
6 #elif defined(ARMCM0plus)
7 #define CMSIS_device_header "ARMCM0plus.h"
8 #elif defined(ARMCM3)
9 #define CMSIS_device_header "ARMCM3.h"
10 #elif defined(ARMCM4)
11 #define CMSIS_device_header "ARMCM4.h"
12 #elif defined(ARMCM4_FP)
13 #define CMSIS_device_header "ARMCM4_FP.h"
14 #elif defined(ARMCM7)
15 #define CMSIS_device_header "ARMCM7.h"
16 #elif defined(ARMCM7_SP)
17 #define CMSIS_device_header "ARMCM7_SP.h"
18 #elif defined(ARMCM7_DP)
19 #define CMSIS_device_header "ARMCM7_DP.h"
20 #elif defined(ARMCA5)
21 #define CMSIS_device_header "ARMCA5.h"
22 #elif defined(ARMCA7)
23 #define CMSIS_device_header "ARMCA7.h"
24 #elif defined(ARMCA9)
25 #define CMSIS_device_header "ARMCA9.h"
26 #else
27 #error "Unknown device selection!"
28 #endif
29
30 #ifdef __UVISION_VERSION
31 #define RTE_Compiler_IO_STDOUT          /* Compiler I/O: STDOUT */
32 #if defined(ARMCM0) || defined(ARMCM0plus) 
33 #define RTE_Compiler_IO_STDOUT_EVR      /* Compiler I/O: STDOUT EVR */
34 #ifndef RTE_Compiler_EventRecorder
35 #define RTE_Compiler_EventRecorder
36 #endif
37 #else
38 #define RTE_Compiler_IO_STDOUT_ITM      /* Compiler I/O: STDOUT ITM */
39 #endif
40 #else
41 #define RTE_Compiler_IO_SEMIHOST
42 #endif
43
44 #endif