Skip to content

Commit 980a797

Browse files
committed
Add full list of CMSIS startup files
Fix #70 Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 4b0baaa commit 980a797

File tree

1 file changed

+248
-4
lines changed

1 file changed

+248
-4
lines changed

cores/arduino/stm32/stm32_def_build.h

Lines changed: 248 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,34 +22,278 @@
2222
#ifndef _STM32_DEF_BUILD_
2323
#define _STM32_DEF_BUILD_
2424

25-
#if defined(STM32F091xC)
26-
#define CMSIS_STARTUP_FILE "startup_stm32f091xc.s"
25+
#if defined(STM32F030x6)
26+
#define CMSIS_STARTUP_FILE "startup_stm32f030x6.s"
2727
#elif defined(STM32F030x8)
2828
#define CMSIS_STARTUP_FILE "startup_stm32f030x8.s"
29+
#elif defined(STM32F030xC)
30+
#define CMSIS_STARTUP_FILE "startup_stm32f030xc.s"
31+
#elif defined(STM32F031x6)
32+
#define CMSIS_STARTUP_FILE "startup_stm32f031x6.s"
33+
#elif defined(STM32F038xx)
34+
#define CMSIS_STARTUP_FILE "startup_stm32f038xx.s"
2935
#elif defined(STM32F042x6)
3036
#define CMSIS_STARTUP_FILE "startup_stm32f042x6.s"
37+
#elif defined(STM32F048xx)
38+
#define CMSIS_STARTUP_FILE "startup_stm32f048xx.s"
39+
#elif defined(STM32F051x8)
40+
#define CMSIS_STARTUP_FILE "startup_stm32f051x8.s"
41+
#elif defined(STM32F058xx)
42+
#define CMSIS_STARTUP_FILE "startup_stm32f058xx.s"
43+
#elif defined(STM32F070x6)
44+
#define CMSIS_STARTUP_FILE "startup_stm32f070x6.s"
45+
#elif defined(STM32F070xB)
46+
#define CMSIS_STARTUP_FILE "startup_stm32f070xb.s"
47+
#elif defined(STM32F071xB)
48+
#define CMSIS_STARTUP_FILE "startup_stm32f071xb.s"
49+
#elif defined(STM32F072xB)
50+
#define CMSIS_STARTUP_FILE "startup_stm32f072xb.s"
51+
#elif defined(STM32F078xx)
52+
#define CMSIS_STARTUP_FILE "startup_stm32f078xx.s"
53+
#elif defined(STM32F091xC)
54+
#define CMSIS_STARTUP_FILE "startup_stm32f091xc.s"
55+
#elif defined(STM32F098xx)
56+
#define CMSIS_STARTUP_FILE "startup_stm32f098xx.s"
3157
#elif defined(STM32F100xB)
3258
#define CMSIS_STARTUP_FILE "startup_stm32f100xb.s"
59+
#elif defined(STM32F100xE)
60+
#define CMSIS_STARTUP_FILE "startup_stm32f100xe.s"
61+
#elif defined(STM32F101x6)
62+
#define CMSIS_STARTUP_FILE "startup_stm32f101x6.s"
63+
#elif defined(STM32F101xB)
64+
#define CMSIS_STARTUP_FILE "startup_stm32f101xb.s"
65+
#elif defined(STM32F101xE)
66+
#define CMSIS_STARTUP_FILE "startup_stm32f101xe.s"
67+
#elif defined(STM32F101xG)
68+
#define CMSIS_STARTUP_FILE "startup_stm32f101xg.s"
69+
#elif defined(STM32F102x6)
70+
#define CMSIS_STARTUP_FILE "startup_stm32f102x6.s"
71+
#elif defined(STM32F102xB)
72+
#define CMSIS_STARTUP_FILE "startup_stm32f102xb.s"
73+
#elif defined(STM32F103x6)
74+
#define CMSIS_STARTUP_FILE "startup_stm32f103x6.s"
3375
#elif defined(STM32F103xB)
3476
#define CMSIS_STARTUP_FILE "startup_stm32f103xb.s"
77+
#elif defined(STM32F103xE)
78+
#define CMSIS_STARTUP_FILE "startup_stm32f103xe.s"
79+
#elif defined(STM32F103xG)
80+
#define CMSIS_STARTUP_FILE "startup_stm32f103xg.s"
81+
#elif defined(STM32F105xC)
82+
#define CMSIS_STARTUP_FILE "startup_stm32f105xc.s"
83+
#elif defined(STM32F107xC)
84+
#define CMSIS_STARTUP_FILE "startup_stm32f107xc.s"
85+
#elif defined(STM32F205xx)
86+
#define CMSIS_STARTUP_FILE "startup_stm32f205xx.s"
3587
#elif defined(STM32F207xx)
3688
#define CMSIS_STARTUP_FILE "startup_stm32f207xx.s"
89+
#elif defined(STM32F215xx)
90+
#define CMSIS_STARTUP_FILE "startup_stm32f215xx.s"
91+
#elif defined(STM32F217xx)
92+
#define CMSIS_STARTUP_FILE "startup_stm32f217xx.s"
93+
#elif defined(STM32F301x8)
94+
#define CMSIS_STARTUP_FILE "startup_stm32f301x8.s"
95+
#elif defined(STM32F302x8)
96+
#define CMSIS_STARTUP_FILE "startup_stm32f302x8.s"
97+
#elif defined(STM32F302xC)
98+
#define CMSIS_STARTUP_FILE "startup_stm32f302xc.s"
99+
#elif defined(STM32F302xE)
100+
#define CMSIS_STARTUP_FILE "startup_stm32f302xe.s"
101+
#elif defined(STM32F303x8)
102+
#define CMSIS_STARTUP_FILE "startup_stm32f303x8.s"
103+
#elif defined(STM32F303xC)
104+
#define CMSIS_STARTUP_FILE "startup_stm32f303xc.s"
37105
#elif defined(STM32F303xE)
38106
#define CMSIS_STARTUP_FILE "startup_stm32f303xe.s"
107+
#elif defined(STM32F318xx)
108+
#define CMSIS_STARTUP_FILE "startup_stm32f318xx.s"
109+
#elif defined(STM32F328xx)
110+
#define CMSIS_STARTUP_FILE "startup_stm32f328xx.s"
111+
#elif defined(STM32F334x8)
112+
#define CMSIS_STARTUP_FILE "startup_stm32f334x8.s"
113+
#elif defined(STM32F358xx)
114+
#define CMSIS_STARTUP_FILE "startup_stm32f358xx.s"
115+
#elif defined(STM32F373xC)
116+
#define CMSIS_STARTUP_FILE "startup_stm32f373xc.s"
117+
#elif defined(STM32F378xx)
118+
#define CMSIS_STARTUP_FILE "startup_stm32f378xx.s"
119+
#elif defined(STM32F398xx)
120+
#define CMSIS_STARTUP_FILE "startup_stm32f398xx.s"
121+
#elif defined(STM32F401xC)
122+
#define CMSIS_STARTUP_FILE "startup_stm32f401xc.s"
39123
#elif defined(STM32F401xE)
40124
#define CMSIS_STARTUP_FILE "startup_stm32f401xe.s"
125+
#elif defined(STM32F405xx)
126+
#define CMSIS_STARTUP_FILE "startup_stm32f405xx.s"
41127
#elif defined(STM32F407xx)
42128
#define CMSIS_STARTUP_FILE "startup_stm32f407xx.s"
129+
#elif defined(STM32F410Cx)
130+
#define CMSIS_STARTUP_FILE "startup_stm32f410cx.s"
131+
#elif defined(STM32F410Rx)
132+
#define CMSIS_STARTUP_FILE "startup_stm32f410rx.s"
133+
#elif defined(STM32F410Tx)
134+
#define CMSIS_STARTUP_FILE "startup_stm32f410tx.s"
135+
#elif defined(STM32F411xE)
136+
#define CMSIS_STARTUP_FILE "startup_stm32f411xe.s"
137+
#elif defined(STM32F412Cx)
138+
#define CMSIS_STARTUP_FILE "startup_stm32f412cx.s"
139+
#elif defined(STM32F412Rx)
140+
#define CMSIS_STARTUP_FILE "startup_stm32f412rx.s"
141+
#elif defined(STM32F412Vx)
142+
#define CMSIS_STARTUP_FILE "startup_stm32f412vx.s"
143+
#elif defined(STM32F412Zx)
144+
#define CMSIS_STARTUP_FILE "startup_stm32f412zx.s"
145+
#elif defined(STM32F413xx)
146+
#define CMSIS_STARTUP_FILE "startup_stm32f413xx.s"
147+
#elif defined(STM32F415xx)
148+
#define CMSIS_STARTUP_FILE "startup_stm32f415xx.s"
149+
#elif defined(STM32F417xx)
150+
#define CMSIS_STARTUP_FILE "startup_stm32f417xx.s"
151+
#elif defined(STM32F423xx)
152+
#define CMSIS_STARTUP_FILE "startup_stm32f423xx.s"
153+
#elif defined(STM32F427xx)
154+
#define CMSIS_STARTUP_FILE "startup_stm32f427xx.s"
43155
#elif defined(STM32F429xx)
44156
#define CMSIS_STARTUP_FILE "startup_stm32f429xx.s"
157+
#elif defined(STM32F437xx)
158+
#define CMSIS_STARTUP_FILE "startup_stm32f437xx.s"
159+
#elif defined(STM32F439xx)
160+
#define CMSIS_STARTUP_FILE "startup_stm32f439xx.s"
161+
#elif defined(STM32F446xx)
162+
#define CMSIS_STARTUP_FILE "startup_stm32f446xx.s"
163+
#elif defined(STM32F469xx)
164+
#define CMSIS_STARTUP_FILE "startup_stm32f469xx.s"
165+
#elif defined(STM32F479xx)
166+
#define CMSIS_STARTUP_FILE "startup_stm32f479xx.s"
167+
#elif defined(STM32F722xx)
168+
#define CMSIS_STARTUP_FILE "startup_stm32f722xx.s"
169+
#elif defined(STM32F723xx)
170+
#define CMSIS_STARTUP_FILE "startup_stm32f723xx.s"
171+
#elif defined(STM32F732xx)
172+
#define CMSIS_STARTUP_FILE "startup_stm32f732xx.s"
173+
#elif defined(STM32F733xx)
174+
#define CMSIS_STARTUP_FILE "startup_stm32f733xx.s"
175+
#elif defined(STM32F745xx)
176+
#define CMSIS_STARTUP_FILE "startup_stm32f745xx.s"
45177
#elif defined(STM32F746xx)
46178
#define CMSIS_STARTUP_FILE "startup_stm32f746xx.s"
179+
#elif defined(STM32F756xx)
180+
#define CMSIS_STARTUP_FILE "startup_stm32f756xx.s"
181+
#elif defined(STM32F765xx)
182+
#define CMSIS_STARTUP_FILE "startup_stm32f765xx.s"
183+
#elif defined(STM32F767xx)
184+
#define CMSIS_STARTUP_FILE "startup_stm32f767xx.s"
185+
#elif defined(STM32F769xx)
186+
#define CMSIS_STARTUP_FILE "startup_stm32f769xx.s"
187+
#elif defined(STM32F777xx)
188+
#define CMSIS_STARTUP_FILE "startup_stm32f777xx.s"
189+
#elif defined(STM32F779xx)
190+
#define CMSIS_STARTUP_FILE "startup_stm32f779xx.s"
191+
#elif defined(STM32L011xx)
192+
#define CMSIS_STARTUP_FILE "startup_stm32l011xx.s"
193+
#elif defined(STM32L021xx)
194+
#define CMSIS_STARTUP_FILE "startup_stm32l021xx.s"
195+
#elif defined(STM32L031xx)
196+
#define CMSIS_STARTUP_FILE "startup_stm32l031xx.s"
197+
#elif defined(STM32L041xx)
198+
#define CMSIS_STARTUP_FILE "startup_stm32l041xx.s"
199+
#elif defined(STM32L051xx)
200+
#define CMSIS_STARTUP_FILE "startup_stm32l051xx.s"
201+
#elif defined(STM32L052xx)
202+
#define CMSIS_STARTUP_FILE "startup_stm32l052xx.s"
47203
#elif defined(STM32L053xx)
48204
#define CMSIS_STARTUP_FILE "startup_stm32l053xx.s"
49-
#elif defined(STM32L476xx)
50-
#define CMSIS_STARTUP_FILE "startup_stm32l476xx.s"
205+
#elif defined(STM32L061xx)
206+
#define CMSIS_STARTUP_FILE "startup_stm32l061xx.s"
207+
#elif defined(STM32L062xx)
208+
#define CMSIS_STARTUP_FILE "startup_stm32l062xx.s"
209+
#elif defined(STM32L063xx)
210+
#define CMSIS_STARTUP_FILE "startup_stm32l063xx.s"
211+
#elif defined(STM32L071xx)
212+
#define CMSIS_STARTUP_FILE "startup_stm32l071xx.s"
213+
#elif defined(STM32L072xx)
214+
#define CMSIS_STARTUP_FILE "startup_stm32l072xx.s"
215+
#elif defined(STM32L073xx)
216+
#define CMSIS_STARTUP_FILE "startup_stm32l073xx.s"
217+
#elif defined(STM32L081xx)
218+
#define CMSIS_STARTUP_FILE "startup_stm32l081xx.s"
219+
#elif defined(STM32L082xx)
220+
#define CMSIS_STARTUP_FILE "startup_stm32l082xx.s"
221+
#elif defined(STM32L083xx)
222+
#define CMSIS_STARTUP_FILE "startup_stm32l083xx.s"
223+
#elif defined(STM32L100xB)
224+
#define CMSIS_STARTUP_FILE "startup_stm32l100xb.s"
225+
#elif defined(STM32L100xBA)
226+
#define CMSIS_STARTUP_FILE "startup_stm32l100xba.s"
227+
#elif defined(STM32L100xC)
228+
#define CMSIS_STARTUP_FILE "startup_stm32l100xc.s"
229+
#elif defined(STM32L151xB)
230+
#define CMSIS_STARTUP_FILE "startup_stm32l151xb.s"
231+
#elif defined(STM32L151xBA)
232+
#define CMSIS_STARTUP_FILE "startup_stm32l151xba.s"
233+
#elif defined(STM32L151xC)
234+
#define CMSIS_STARTUP_FILE "startup_stm32l151xc.s"
235+
#elif defined(STM32L151xCA)
236+
#define CMSIS_STARTUP_FILE "startup_stm32l151xca.s"
237+
#elif defined(STM32L151xD)
238+
#define CMSIS_STARTUP_FILE "startup_stm32l151xd.s"
239+
#elif defined(STM32L151xDx)
240+
#define CMSIS_STARTUP_FILE "startup_stm32l151xdx.s"
241+
#elif defined(STM32L151xE)
242+
#define CMSIS_STARTUP_FILE "startup_stm32l151xe.s"
243+
#elif defined(STM32L152xB)
244+
#define CMSIS_STARTUP_FILE "startup_stm32l152xb.s"
245+
#elif defined(STM32L152xBA)
246+
#define CMSIS_STARTUP_FILE "startup_stm32l152xba.s"
247+
#elif defined(STM32L152xC)
248+
#define CMSIS_STARTUP_FILE "startup_stm32l152xc.s"
249+
#elif defined(STM32L152xCA)
250+
#define CMSIS_STARTUP_FILE "startup_stm32l152xca.s"
251+
#elif defined(STM32L152xD)
252+
#define CMSIS_STARTUP_FILE "startup_stm32l152xd.s"
253+
#elif defined(STM32L152xDx)
254+
#define CMSIS_STARTUP_FILE "startup_stm32l152xdx.s"
255+
#elif defined(STM32L152xE)
256+
#define CMSIS_STARTUP_FILE "startup_stm32l152xe.s"
257+
#elif defined(STM32L162xC)
258+
#define CMSIS_STARTUP_FILE "startup_stm32l162xc.s"
259+
#elif defined(STM32L162xCA)
260+
#define CMSIS_STARTUP_FILE "startup_stm32l162xca.s"
261+
#elif defined(STM32L162xD)
262+
#define CMSIS_STARTUP_FILE "startup_stm32l162xd.s"
263+
#elif defined(STM32L162xDx)
264+
#define CMSIS_STARTUP_FILE "startup_stm32l162xdx.s"
265+
#elif defined(STM32L162xE)
266+
#define CMSIS_STARTUP_FILE "startup_stm32l162xe.s"
267+
#elif defined(STM32L431xx)
268+
#define CMSIS_STARTUP_FILE "startup_stm32l431xx.s"
51269
#elif defined(STM32L432xx)
52270
#define CMSIS_STARTUP_FILE "startup_stm32l432xx.s"
271+
#elif defined(STM32L433xx)
272+
#define CMSIS_STARTUP_FILE "startup_stm32l433xx.s"
273+
#elif defined(STM32L442xx)
274+
#define CMSIS_STARTUP_FILE "startup_stm32l442xx.s"
275+
#elif defined(STM32L443xx)
276+
#define CMSIS_STARTUP_FILE "startup_stm32l443xx.s"
277+
#elif defined(STM32L451xx)
278+
#define CMSIS_STARTUP_FILE "startup_stm32l451xx.s"
279+
#elif defined(STM32L452xx)
280+
#define CMSIS_STARTUP_FILE "startup_stm32l452xx.s"
281+
#elif defined(STM32L462xx)
282+
#define CMSIS_STARTUP_FILE "startup_stm32l462xx.s"
283+
#elif defined(STM32L471xx)
284+
#define CMSIS_STARTUP_FILE "startup_stm32l471xx.s"
285+
#elif defined(STM32L475xx)
286+
#define CMSIS_STARTUP_FILE "startup_stm32l475xx.s"
287+
#elif defined(STM32L476xx)
288+
#define CMSIS_STARTUP_FILE "startup_stm32l476xx.s"
289+
#elif defined(STM32L485xx)
290+
#define CMSIS_STARTUP_FILE "startup_stm32l485xx.s"
291+
#elif defined(STM32L486xx)
292+
#define CMSIS_STARTUP_FILE "startup_stm32l486xx.s"
293+
#elif defined(STM32L496xx)
294+
#define CMSIS_STARTUP_FILE "startup_stm32l496xx.s"
295+
#elif defined(STM32L4A6xx)
296+
#define CMSIS_STARTUP_FILE "startup_stm32l4a6xx.s"
53297
#else
54298
#error UNKNOWN CHIP
55299
#endif

0 commit comments

Comments
 (0)