|
1 | | -solution: |
2 | | - |
3 | | - |
4 | | - description: Print Hello World and a counter value via UART |
5 | | - select-compiler: |
6 | | - - compiler: AC6 |
7 | | - - compiler: GCC |
8 | | - cdefault: |
9 | | - |
10 | | - |
11 | | - # It is recommended to list the pack or packs that define the device or board used in the csolution.yml file |
12 | | - packs: |
13 | | - - pack: ARM::CMSIS |
14 | | - - pack: ARM::CMSIS-RTX |
| 1 | +# A solution is a collection of related projects that share same base configuration. |
| 2 | +solution: |
| 3 | + |
| 4 | + |
| 5 | + description: Print Hello World and a counter value via UART |
| 6 | + cdefault: |
| 7 | + |
| 8 | + # List of tested compilers that can be selected. |
| 9 | + select-compiler: |
| 10 | + - compiler: AC6 |
| 11 | + - compiler: GCC |
| 12 | + |
| 13 | + # List the packs that define the device and/or board. |
| 14 | + packs: |
| 15 | + - pack: ARM::CMSIS |
| 16 | + - pack: ARM::CMSIS-RTX |
15 | 17 | - pack: ARM::V2M_MPS3_SSE_300_BSP # Corstone-300 (Cortex-M55) |
16 | 18 | - pack: ARM::V2M_MPS3_SSE_310_BSP # SSE-310-MPS3_FVP |
17 | 19 | - pack: ARM::SSE_315_BSP # SSE-315-FVP |
18 | 20 | - pack: Keil::V2M-MPS2_CMx_BSP # For Cortex-M0 .. M33 ; AVH-CM* devices. |
19 | 21 | - pack: Keil::V2M-MPS2_IOTKit_BSP # For the IOTKit_CM23_VHT, IOTKit_CM33_VHT, and IOTKit_CM33_FP_VHT devices |
20 | 22 | - pack: Keil::V2M-MPS3_IOTKit_BSP # For the IOTKit_CM33_MPS3 and the IOTKit_CM33_FP_MPS3 devices |
21 | 23 | - pack: ARM::CMSIS-Compiler # For retargeting stdout to UART |
22 | | - |
23 | | - |
24 | | - target-types: |
25 | | - - type: CS300 # Runs on Arm Virtual Hardware |
26 | | - device: ARM::SSE-300-MPS3 |
27 | | - |
28 | | - - type: CS310 |
29 | | - device: ARM::SSE-310-MPS3_FVP |
30 | | - |
31 | | - - type: CS315 |
32 | | - device: ARM::SSE-315-FVP |
33 | | - |
34 | | - - type: CM0plus |
35 | | - device: ARM::CMSDK_CM0plus_VHT |
36 | | - |
37 | | - - type: CM0 |
38 | | - device: ARM::CMSDK_CM0_VHT |
39 | | - |
40 | | - - type: CM3 |
41 | | - device: ARM::CMSDK_CM3_VHT |
42 | | - |
43 | | - - type: CM4 |
44 | | - device: ARM::CMSDK_CM4_VHT |
45 | | - |
46 | | - - type: CM4_FP |
47 | | - device: ARM::CMSDK_CM4_FP_VHT |
48 | | - |
49 | | - - type: CM7 |
50 | | - device: ARM::CMSDK_CM7_VHT |
51 | | - |
52 | | - - type: CM7_SP |
53 | | - device: ARM::CMSDK_CM7_SP_VHT |
54 | | - |
55 | | - - type: CM7_DP |
56 | | - device: ARM::CMSDK_CM7_DP_VHT |
57 | | - |
58 | | - - type: CM23 |
59 | | - device: ARM::IOTKit_CM23_VHT |
60 | | - |
61 | | - - type: CM33 |
62 | | - device: ARM::IOTKit_CM33_VHT |
63 | | - |
64 | | - - type: CM33_FP |
65 | | - device: ARM::IOTKit_CM33_FP_VHT |
66 | | - |
67 | | - # add more hardware targets (don't forget to add the required packs) |
68 | | - build-types: # defines toolchain options for 'debug' and 'release' |
69 | | - - type: Debug |
70 | | - debug: on |
71 | | - optimize: none |
72 | | - |
73 | | - - type: Release |
74 | | - debug: off |
75 | | - optimize: balanced |
76 | | - |
77 | | - output-dirs: |
78 | | - outdir: $SolutionDir()$/out/$Project$/$TargetType$/$BuildType$/$Compiler$ |
79 | | - |
80 | | - projects: # list related projects |
81 | | - - project: ./Hello.cproject.yml |
| 24 | + |
| 25 | + # List different targets that are used to deploy the solution. |
| 26 | + target-types: |
| 27 | + - type: CS300 |
| 28 | + device: ARM::SSE-300-MPS3 |
| 29 | + |
| 30 | + - type: CS310 |
| 31 | + device: ARM::SSE-310-MPS3_FVP |
| 32 | + |
| 33 | + - type: CS315 |
| 34 | + device: ARM::SSE-315-FVP |
| 35 | + |
| 36 | + - type: CM0plus |
| 37 | + device: ARM::CMSDK_CM0plus_VHT |
| 38 | + |
| 39 | + - type: CM0 |
| 40 | + device: ARM::CMSDK_CM0_VHT |
| 41 | + |
| 42 | + - type: CM3 |
| 43 | + device: ARM::CMSDK_CM3_VHT |
| 44 | + |
| 45 | + - type: CM4 |
| 46 | + device: ARM::CMSDK_CM4_VHT |
| 47 | + |
| 48 | + - type: CM4_FP |
| 49 | + device: ARM::CMSDK_CM4_FP_VHT |
| 50 | + |
| 51 | + - type: CM7 |
| 52 | + device: ARM::CMSDK_CM7_VHT |
| 53 | + |
| 54 | + - type: CM7_SP |
| 55 | + device: ARM::CMSDK_CM7_SP_VHT |
| 56 | + |
| 57 | + - type: CM7_DP |
| 58 | + device: ARM::CMSDK_CM7_DP_VHT |
| 59 | + |
| 60 | + - type: CM23 |
| 61 | + device: ARM::IOTKit_CM23_VHT |
| 62 | + |
| 63 | + - type: CM33 |
| 64 | + device: ARM::IOTKit_CM33_VHT |
| 65 | + |
| 66 | + - type: CM33_FP |
| 67 | + device: ARM::IOTKit_CM33_FP_VHT |
| 68 | + |
| 69 | + # List of different build configurations. |
| 70 | + build-types: |
| 71 | + - type: Debug |
| 72 | + debug: on |
| 73 | + optimize: none |
| 74 | + |
| 75 | + - type: Release |
| 76 | + debug: off |
| 77 | + optimize: balanced |
| 78 | + |
| 79 | + # Set output directory. |
| 80 | + output-dirs: |
| 81 | + outdir: $SolutionDir()$/out/$Project$/$TargetType$/$BuildType$/$Compiler$ |
| 82 | + |
| 83 | + # List related projects. |
| 84 | + projects: |
| 85 | + - project: ./Hello.cproject.yml |
0 commit comments