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        - -Werror
15        - -std=c11
16        - -Ofast
17        - -ffast-math
18        - -Wno-packed
19        - -Wno-missing-variable-declarations
20        - -Wno-missing-prototypes
21        - -Wno-missing-noreturn
22        - -Wno-sign-conversion
23        - -Wno-nonportable-include-path
24        - -Wno-reserved-id-macro
25        - -Wno-unused-macros
26        - -Wno-documentation-unknown-command
27        - -Wno-documentation
28        - -Wno-license-management
29        - -Wno-parentheses-equality
30        - -Wno-reserved-identifier
31        - -ffunction-sections
32        - -Wmissing-prototypes
33        - -DARM_DSP_ATTRIBUTE="__attribute__((weak))"
34        - -DARM_DSP_TABLE_ATTRIBUTE="__attribute__((section (\"dsp_table\")))"
35      CPP:
36        - -fno-rtti
37        - -DNDEBUG
38        - -Wall
39        - -Wextra
40        - -std=c++17
41        - -Ofast
42        - -ffast-math
43        - -Wno-unused-function
44        - -ffunction-sections
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        - -mfp16-format=ieee
76        - -Wmissing-prototypes
77        - -DARM_DSP_ATTRIBUTE="__attribute__((weak))"
78        - -DARM_DSP_TABLE_ATTRIBUTE="__attribute__((section (\"dsp_table\")))"
79      CPP:
80        - -fno-rtti
81        - -DNDEBUG
82        - -Wall
83        - -Wextra
84        - -std=c++17
85        - -Ofast
86        - -ffast-math
87        - -Wno-unused-function
88        - -ffunction-sections
89        - -fdata-sections
90        - -Wno-psabi
91        - -mfp16-format=ieee
92      ASM:
93        - -masm=auto
94      Link:
95        - --specs=nano.specs
96        - -Wl,-Map=$elf()$.map
97        - -lm
98        - -Wl,--wrap=SysTick_Handler
99        - -Wl,--gc-sections
100      Library:
101        - -lm
102
103    - for-compiler: CLANG
104      C:
105         - -Wsign-compare
106         - -Wdouble-promotion
107         - -Wfloat-conversion
108         - -DNDEBUG
109         - -Wall
110         - -Wextra
111         - -Werror
112         - -std=c11
113         - -Ofast
114         - -ffast-math
115         - -Wno-packed
116         - -Wno-missing-variable-declarations
117         - -Wno-missing-prototypes
118         - -Wno-missing-noreturn
119         - -Wno-sign-conversion
120         - -Wno-nonportable-include-path
121         - -Wno-reserved-id-macro
122         - -Wno-unused-macros
123         - -Wno-documentation-unknown-command
124         - -Wno-documentation
125         - -Wno-parentheses-equality
126         - -Wno-reserved-identifier
127         - -ffunction-sections
128         - -Wmissing-prototypes
129         - -DARM_DSP_ATTRIBUTE="__attribute__((weak))"
130         - -DARM_DSP_TABLE_ATTRIBUTE="__attribute__((section (\"dsp_table\")))"
131      CPP:
132        - -fno-rtti
133        - -DNDEBUG
134        - -Wall
135        - -Wextra
136        - -std=c++17
137        - -Ofast
138        - -ffast-math
139        - -Wno-unused-function
140        - -ffunction-sections
141      ASM:
142        - -masm=auto
143      Link:
144        - -Wl,-Map=$elf()$.map
145        - -Wl,--gc-sections
146