Validation.csolution.yml 4.5 KB

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