1solution:
2  compiler: AC6
3
4  language-C: c11
5  language-CPP: c++17
6  cdefault:
7
8  packs:
9    - pack: ARM::CMSIS@6.0.0
10    - pack: ARM::V2M_MPS3_SSE_300_BSP@1.4.0
11    - pack: ARM::CMSIS-Compiler@2.0.0
12    - pack: ARM::Cortex_DFP@1.0.0
13
14  target-types:
15    - type: MPS3-Corstone-300
16      device: ARM::SSE-300-MPS3
17      board: ARM::V2M-MPS3-SSE-300-FVP
18      define:
19        - CORTEXM
20        - SSE300MPS3
21        - MPS3
22        - ARMCM55
23      misc:
24        - for-compiler: GCC
25          C:
26            - -Wno-sign-compare
27            - -Wno-unused-parameter
28          CPP:
29            - -Wno-sign-compare
30            - -Wno-unused-parameter
31          Link:
32            - --specs=nosys.specs
33        - for-compiler: CLANG
34          C:
35            - -Wno-sign-compare
36            - -Wno-unused-parameter
37          CPP:
38            - -Wno-sign-compare
39            - -Wno-unused-parameter
40          Link:
41            - -lcrt0
42
43    - type: VHT-Corstone-300
44      device: ARM::SSE-300-MPS3
45      board: ARM::V2M-MPS3-SSE-300-FVP
46      define:
47        - CORTEXM
48        - ARMCM55
49        - VHT
50      misc:
51        - for-compiler: GCC
52          Link:
53            - --specs=rdimon.specs
54          Library:
55            - -lrdimon
56        - for-compiler: CLANG
57          Link:
58            - -lcrt0-semihost
59            - -lsemihost
60
61    - type: VHT-M0P
62      device: ARMCM0P
63      #board: uVision Simulator
64      define:
65        - CORTEXM
66        - ARMCM0P
67        - DISABLEFLOAT16
68        - VHT
69      misc:
70        - for-compiler: GCC
71          Link:
72            - --specs=rdimon.specs
73          Library:
74            - -lrdimon
75        - for-compiler: CLANG
76          Link:
77            - -lcrt0-semihost
78            - -lsemihost
79
80    - type: VHT-M4
81      device: ARMCM4
82      #board: uVision Simulator
83      define:
84        - CORTEXM
85        - ARMCM4_FP
86        - DISABLEFLOAT16
87        - VHT
88      misc:
89        - for-compiler: GCC
90          Link:
91            - --specs=rdimon.specs
92          Library:
93            - -lrdimon
94        - for-compiler: CLANG
95          Link:
96            - -lcrt0-semihost
97            - -lsemihost
98
99  build-types:
100    - type: Release
101      debug: on
102
103
104  projects:
105    - project: ./test.cproject.yml
106    - project: ./example.cproject.yml
107