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