]> begriffs open source - cmsis/blob - CMSIS/CoreValidation/Project/Validation.csolution.yml
Migrate CMSIS-CoreValidation to CMSIS-Toolbox build system
[cmsis] / CMSIS / CoreValidation / Project / Validation.csolution.yml
1 # yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/0.9.2/tools/projmgr/schemas/csolution.schema.json
2
3 solution:
4   packs:
5     - pack: ARM::CMSIS
6       path: ../../../
7
8   misc:
9     - compiler: AC6
10       C: [-std=c99, -gdwarf-4, -ffunction-sections]
11       Link: [--entry=Reset_Handler]
12     - compiler: GCC
13       C: [-std=gnu99, -gdwarf-2, -ffunction-sections, -fdata-sections]
14       Link: [--specs=nano.specs, --specs=rdimon.specs]
15
16   target-types:
17     #CM0
18     - type: CM0
19       device: ARMCM0
20
21     #CM0plus
22     - type: CM0plus
23       device: ARMCM0P
24
25     #CM3
26     - type: CM3
27       device: ARMCM3
28
29     #CM4
30     - type: CM4
31       device: ARMCM4
32
33     #CM4FP
34     - type: CM4FP
35       device: ARMCM4_FP
36
37     #CM7
38     - type: CM7
39       device: ARMCM7
40
41     #CM7SP
42     - type: CM7SP
43       device: ARMCM7_SP
44
45     #CM7DP
46     - type: CM7DP
47       device: ARMCM7_DP
48
49     #CM23
50     - type: CM23
51       device: ARMCM23
52       processor:
53         trustzone: off
54
55      #CM23S
56     - type: CM23S
57       device: ARMCM23_TZ
58       processor:
59         trustzone: secure
60
61      #CM23NS
62     - type: CM23NS
63       device: ARMCM23_TZ
64       processor:
65         trustzone: non-secure
66
67     #CM33
68     - type: CM33
69       device: ARMCM33_DSP_FP
70       processor:
71         trustzone: off
72
73      #CM33S
74     - type: CM33S
75       device: ARMCM33_DSP_FP_TZ
76       processor:
77         trustzone: secure
78
79      #CM33NS
80     - type: CM33NS
81       device: ARMCM33_DSP_FP_TZ
82       processor:
83         trustzone: non-secure
84
85     #CM35P
86     - type: CM35P
87       device: ARMCM35P_DSP_FP
88       processor:
89         trustzone: off
90
91      #CM35PS
92     - type: CM35PS
93       device: ARMCM35P_DSP_FP_TZ
94       processor:
95         trustzone: secure
96
97      #CM35PNS
98     - type: CM35PNS
99       device: ARMCM35P_DSP_FP_TZ
100       processor:
101         trustzone: non-secure
102
103      #CM55S
104     - type: CM55S
105       device: ARMCM55
106       processor:
107         trustzone: secure
108
109      #CM55NS
110     - type: CM55NS
111       device: ARMCM55
112       processor:
113         trustzone: non-secure
114
115      #CM85S
116     - type: CM85S
117       device: ARMCM85
118       processor:
119         trustzone: secure
120
121      #CM85NS
122     - type: CM85NS
123       device: ARMCM85
124       processor:
125         trustzone: non-secure
126
127     #CA5
128     - type: CA5
129       device: ARMCA5
130
131     #CA7
132     - type: CA7
133       device: ARMCA7
134
135     #CA9
136     - type: CA9
137       device: ARMCA9
138
139   build-types:
140   #AC6_low, AC6_mid, AC6_high, AC6_size, AC6_OZ,
141     - type: AC6_low
142       compiler: AC6
143       misc:
144         - compiler: AC6
145           C: [-O1]
146     - type: AC6_mid
147       compiler: AC6
148       misc:
149         - compiler: AC6
150           C: [-O2]
151     - type: AC6_high
152       compiler: AC6
153       misc:
154         - compiler: AC6
155           C: [-O3]
156     - type: AC6_size
157       compiler: AC6
158       misc:
159         - compiler: AC6
160           C: [-Os]
161     - type: AC6_tiny
162       compiler: AC6
163       misc:
164         - compiler: AC6
165           C: [-Oz]
166   #GCC_low, GCC_mid, GCC_high, GCC_size, GCC_OZ,
167     - type: GCC_low
168       compiler: GCC
169       misc:
170         - compiler: GCC
171           C: [-O1]
172     - type: GCC_mid
173       compiler: GCC
174       misc:
175         - compiler: GCC
176           C: [-O2]
177     - type: GCC_high
178       compiler: GCC
179       misc:
180         - compiler: GCC
181           C: [-O3]
182     - type: GCC_size
183       compiler: GCC
184       misc:
185         - compiler: GCC
186           C: [-Os]
187     - type: GCC_tiny
188       compiler: GCC
189       misc:
190         - compiler: GCC
191           C: [-Oz]
192
193   projects:
194     - project: ./Validation.cproject.yml
195
196     - project: ./Bootloader.cproject.yml
197       for-type:
198         - +CM23S
199         - +CM33S
200         - +CM35PS
201         - +CM55S
202         - +CM85S
203
204   output-dirs:
205     cprjdir: ./$Project$.$BuildType$+$TargetType$
206     rtedir:  ./$Project$.$BuildType$+$TargetType$/RTE
207     intdir:  ./$Project$.$BuildType$+$TargetType$/$Project$.$BuildType$+$TargetType$_intdir
208     outdir:  ./$Project$.$BuildType$+$TargetType$/$Project$.$BuildType$+$TargetType$_outdir