cdefault.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. default:
  2. compiler: AC6
  3. misc:
  4. - for-compiler: AC6
  5. C:
  6. - -Wsign-compare
  7. - -Wdouble-promotion
  8. - -DNDEBUG
  9. - -Wall
  10. - -Wextra
  11. - -Werror
  12. - -std=c11
  13. - -Ofast
  14. - -ffast-math
  15. - -Wno-packed
  16. - -Wno-missing-variable-declarations
  17. - -Wno-missing-prototypes
  18. - -Wno-missing-noreturn
  19. - -Wno-sign-conversion
  20. - -Wno-nonportable-include-path
  21. - -Wno-reserved-id-macro
  22. - -Wno-unused-macros
  23. - -Wno-documentation-unknown-command
  24. - -Wno-documentation
  25. - -Wno-license-management
  26. - -Wno-parentheses-equality
  27. - -Wno-reserved-identifier
  28. - -ffunction-sections
  29. - -Wno-nan-infinity-disabled
  30. - -DARM_MATH_LOOPUNROLL
  31. CPP:
  32. - -fno-rtti
  33. - -fno-exceptions
  34. - -DNDEBUG
  35. - -Wall
  36. - -Wextra
  37. - -std=c++17
  38. - -Ofast
  39. - -ffast-math
  40. - -Wno-unused-function
  41. - -ffunction-sections
  42. - -mllvm -disable-vector-combine
  43. ASM:
  44. - -masm=auto
  45. Link:
  46. - --entry=Reset_Handler
  47. - --info=summarysizes
  48. - --info=sizes
  49. - --info=totals
  50. - --info=unused
  51. - --info=veneers
  52. - for-compiler: GCC
  53. C:
  54. - -Wsign-compare
  55. - -Wdouble-promotion
  56. - -DNDEBUG
  57. - -Wall
  58. - -Wextra
  59. - -Werror
  60. - -std=c11
  61. - -Ofast
  62. - -ffast-math
  63. - -Wno-packed
  64. - -Wno-missing-prototypes
  65. - -Wno-missing-noreturn
  66. - -Wno-sign-conversion
  67. - -Wno-unused-macros
  68. - -ffunction-sections
  69. - -DARM_MATH_LOOPUNROLL
  70. - -flax-vector-conversions
  71. - -Wno-maybe-uninitialized
  72. - -fdata-sections
  73. - -fno-unroll-loops
  74. CPP:
  75. - -fno-rtti
  76. - -fno-exceptions
  77. - -DNDEBUG
  78. - -Wall
  79. - -Wextra
  80. - -std=c++17
  81. - -Ofast
  82. - -ffast-math
  83. - -Wno-unused-function
  84. - -ffunction-sections
  85. - -fdata-sections
  86. - -Wno-psabi
  87. - -fno-unroll-loops
  88. ASM:
  89. - -masm=auto
  90. Link:
  91. - --specs=nano.specs
  92. - -Wl,-Map=$elf()$.map
  93. - -lm
  94. - -Wl,--wrap=SysTick_Handler
  95. - -Wl,--gc-sections
  96. Library:
  97. - -lm
  98. - for-compiler: CLANG
  99. C:
  100. - -Wsign-compare
  101. - -Wdouble-promotion
  102. - -DNDEBUG
  103. - -Wall
  104. - -Wextra
  105. - -Werror
  106. - -std=c11
  107. - -Ofast
  108. - -ffast-math
  109. - -Wno-packed
  110. - -Wno-missing-variable-declarations
  111. - -Wno-missing-prototypes
  112. - -Wno-missing-noreturn
  113. - -Wno-sign-conversion
  114. - -Wno-nonportable-include-path
  115. - -Wno-reserved-id-macro
  116. - -Wno-unused-macros
  117. - -Wno-documentation-unknown-command
  118. - -Wno-documentation
  119. - -Wno-parentheses-equality
  120. - -Wno-reserved-identifier
  121. - -ffunction-sections
  122. - -DARM_MATH_LOOPUNROLL
  123. CPP:
  124. - -fno-rtti
  125. - -fno-exceptions
  126. - -DNDEBUG
  127. - -Wall
  128. - -Wextra
  129. - -std=c++17
  130. - -Ofast
  131. - -ffast-math
  132. - -Wno-unused-function
  133. - -ffunction-sections
  134. ASM:
  135. - -masm=auto
  136. Link:
  137. - -Wl,-Map=$elf()$.map
  138. - -Wl,--gc-sections