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