]> begriffs open source - cmsis/blob - CMSIS/CoreValidation/Tests/Cortex-A5/AC6/CV_Config.h
CoreValidation: Added -Wundef to GCC project configurations.
[cmsis] / CMSIS / CoreValidation / Tests / Cortex-A5 / AC6 / CV_Config.h
1 /*-----------------------------------------------------------------------------
2  *      Name:         CV_Config.h
3  *      Purpose:      CV Config header
4  *----------------------------------------------------------------------------
5  *      Copyright (c) 2017 ARM Limited. All rights reserved.
6  *----------------------------------------------------------------------------*/
7 #ifndef __CV_CONFIG_H
8 #define __CV_CONFIG_H
9
10 #include "RTE_Components.h"
11 #include CMSIS_device_header
12
13 #define RTE_CV_COREINSTR  1
14 #define RTE_CV_COREFUNC   1
15 #define RTE_CV_L1CACHE    1
16
17 //-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
18
19 // <h> Common Test Settings
20 // <o> Print Output Format <0=> Plain Text <1=> XML
21 // <i> Set the test results output format to plain text or XML
22 #ifndef PRINT_XML_REPORT
23 #define PRINT_XML_REPORT            1
24 #endif
25 // <o> Buffer size for assertions results
26 // <i> Set the buffer size for assertions results buffer
27 #define BUFFER_ASSERTIONS           128U
28 // </h>
29
30 // <h> Disable Test Cases
31 // <i> Uncheck to disable an individual test case
32 // <q00> TC_CoreInstr_NOP
33 // <q01> TC_CoreInstr_REV
34 // <q02> TC_CoreInstr_REV16
35 // <q03> TC_CoreInstr_REVSH
36 // <q04> TC_CoreInstr_ROR
37 // <q05> TC_CoreInstr_RBIT
38 // <q06> TC_CoreInstr_CLZ
39 // <q07> TC_CoreInstr_SSAT
40 // <q08> TC_CoreInstr_USAT
41
42 #define TC_COREINSTR_NOP_EN                 1
43 #define TC_COREINSTR_REV_EN                 1
44 #define TC_COREINSTR_REV16_EN               1
45 #define TC_COREINSTR_REVSH_EN               1
46 #define TC_COREINSTR_ROR_EN                 1
47 #define TC_COREINSTR_RBIT_EN                1
48 #define TC_COREINSTR_CLZ_EN                 1
49 #define TC_COREINSTR_SSAT_EN                1
50 #define TC_COREINSTR_USAT_EN                1
51
52 // <q09> TC_CoreAFunc_FPSCR
53 // <q10> TC_CoreAFunc_CPSR
54 // <q11> TC_CoreAFunc_Mode
55 // <q12> TC_CoreAFunc_SP
56 // <q13> TC_CoreAFunc_SP_usr
57 // <q14> TC_CoreAFunc_FPEXC
58 // <q15> TC_CoreAFunc_ACTLR
59 // <q16> TC_CoreAFunc_CPACR
60 // <q17> TC_CoreAFunc_DFSR
61 // <q18> TC_CoreAFunc_IFSR
62 // <q19> TC_CoreAFunc_ISR
63 // <q20> TC_CoreAFunc_CBAR
64 // <q21> TC_CoreAFunc_TTBR0
65 // <q22> TC_CoreAFunc_DACR
66 // <q23> TC_CoreAFunc_SCTLR
67 // <q24> TC_CoreAFunc_ACTRL
68 // <q25> TC_CoreAFunc_MPIDR
69 // <q26> TC_CoreAFunc_VBAR
70 // <q27> TC_CoreAFunc_MVBAR
71
72 #define TC_COREAFUNC_IRQ                    1
73 #define TC_COREAFUNC_FPSCR                  1
74 #define TC_COREAFUNC_CPSR                   1
75 #define TC_COREAFUNC_MODE                   1
76 #define TC_COREAFUNC_SP                     1
77 #define TC_COREAFUNC_SP_USR                 1
78 #define TC_COREAFUNC_FPEXC                  1
79 #define TC_COREAFUNC_ACTLR                  1
80 #define TC_COREAFUNC_CPACR                  1
81 #define TC_COREAFUNC_DFSR                   1
82 #define TC_COREAFUNC_IFSR                   1
83 #define TC_COREAFUNC_ISR                    1
84 #define TC_COREAFUNC_CBAR                   1
85 #define TC_COREAFUNC_TTBR0                  1
86 #define TC_COREAFUNC_DACR                   1
87 #define TC_COREAFUNC_SCTLR                  1
88 #define TC_COREAFUNC_ACTRL                  1
89 #define TC_COREAFUNC_MPIDR                  1
90 #define TC_COREAFUNC_VBAR                   1
91 #define TC_COREAFUNC_MVBAR                  1
92
93 // <q28> TC_GenTimer_CNTFRQ
94 // <q29> TC_GenTimer_CNTP_TVAL
95 // <q30> TC_GenTimer_CNTP_CTL
96 // <q31> TC_GenTimer_CNTPCT
97 // <q32> TC_GenTimer_CNTP_CVAL
98
99 #define TC_GENTIMER_CNTFRQ                  1
100 #define TC_GENTIMER_CNTP_TVAL               1
101 #define TC_GENTIMER_CNTP_CTL                1
102 #define TC_GENTIMER_CNTPCT                  1
103 #define TC_GENTIMER_CNTP_CVAL               1
104
105 // <q33> TC_L1Cache_EnDisable
106 // <q34> TC_L1Cache_EnDisableBTAC
107 // <q35> TC_L1Cache_log2_up
108 // <q36> TC_L1Cache_InvalidateDCacheAll
109 // <q37> TC_L1Cache_CleanDCacheAll
110 // <q38> TC_L1Cache_CleanInvalidateDCacheAll
111
112 #define TC_L1CACHE_ENDISABLE                1
113 #define TC_L1CACHE_ENDISABLEBTAC            1
114 #define TC_L1CACHE_LOG2_UP                  1
115 #define TC_L1CACHE_INVALIDATEDCACHEALL      1
116 #define TC_L1CACHE_CLEANDCACHEALL           1
117 #define TC_L1CACHE_CLEANINVALIDATEDCACHEALL 1
118 // </h>
119
120 #endif /* __CV_CONFIG_H */
121