@@ -18,7 +18,7 @@ ST_USB = usb_lib
1818
1919# Optimization level [0,1,2,3,s]
2020OPT ?= s
21- DEBUG =
21+ DEBUG =
2222# DEBUG = dwarf-2
2323
2424INCDIRS = ./$(ST_LIB ) ./$(ST_USB )
@@ -143,7 +143,7 @@ build_maple-mini: TARGETFLAGS= -DTARGET_MAPLE_MINI
143143build_maple-mini : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
144144
145145build_maple-mini : elf bin lss sym
146- copy_maple_mini :
146+ copy_maple_mini :
147147 @echo
148148 @echo " Copying to binaries folder"
149149 @echo
@@ -155,7 +155,7 @@ build_maple-rev3: TARGETFLAGS= -DTARGET_MAPLE_REV3
155155build_maple-rev3 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
156156
157157build_maple-rev3 : elf bin lss sym
158- copy_maple-rev3 :
158+ copy_maple-rev3 :
159159 @echo
160160 @echo " Copying to binaries folder"
161161 @echo
@@ -166,196 +166,196 @@ build_maple-rev5: TARGETFLAGS= -DTARGET_MAPLE_REV5
166166# Set the linker script
167167build_maple-rev5 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
168168build_maple-rev5 : elf bin lss sym
169- copy_maple-rev5 :
169+ copy_maple-rev5 :
170170 @echo
171171 @echo " Copying to binaries folder"
172172 @echo
173173 cp $(TARGET ) .bin bootloader_only_binaries/maple_rev5_boot20.bin
174174 @echo
175-
176-
175+
176+
177177build_generic-pc13 : TARGETFLAGS= -DTARGET_GENERIC_F103_PC13
178178# Set the linker script
179179build_generic-pc13 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
180180build_generic-pc13 : elf bin lss sym
181- copy_generic-pc13 :
181+ copy_generic-pc13 :
182182 @echo
183183 @echo " Copying to binaries folder"
184184 @echo
185185 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pc13.bin
186- @echo
187-
186+ @echo
187+
188188build_generic-pg15 : TARGETFLAGS= -DTARGET_GENERIC_F103_PG15
189189# Set the linker script
190190build_generic-pg15 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
191191build_generic-pg15 : elf bin lss sym
192- copy_generic-pg15 :
192+ copy_generic-pg15 :
193193 @echo
194194 @echo " Copying to binaries folder"
195195 @echo
196196 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pg15.bin
197- @echo
197+ @echo
198198
199199
200200build_generic-pd2 : TARGETFLAGS= -DTARGET_GENERIC_F103_PD2
201201# Set the linker script
202202build_generic-pd2 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
203203build_generic-pd2 : elf bin lss sym
204- copy_generic-pd2 :
204+ copy_generic-pd2 :
205205 @echo
206206 @echo " Copying to binaries folder"
207207 @echo
208208 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pd2.bin
209- @echo
210-
211-
209+ @echo
210+
211+
212212build_generic-pd1 : TARGETFLAGS= -DTARGET_GENERIC_F103_PD1
213213# Set the linker script
214214build_generic-pd1 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
215215build_generic-pd1 : elf bin lss sym
216- copy_generic-pd1 :
216+ copy_generic-pd1 :
217217 @echo
218218 @echo " Copying to binaries folder"
219219 @echo
220220 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pd1.bin
221- @echo
222-
221+ @echo
222+
223223build_generic-pa1 : TARGETFLAGS= -DTARGET_GENERIC_F103_PA1
224224# Set the linker script
225225build_generic-pa1 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
226226build_generic-pa1 : elf bin lss sym
227- copy_generic-pa1 :
227+ copy_generic-pa1 :
228228 @echo
229229 @echo " Copying to binaries folder"
230230 @echo
231231 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pa1.bin
232- @echo
232+ @echo
233233
234234build_generic-pb9 : TARGETFLAGS= -DTARGET_GENERIC_F103_PB9
235235# Set the linker script
236236build_generic-pb9 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
237237build_generic-pb9 : elf bin lss sym
238- copy_generic-pb9 :
238+ copy_generic-pb9 :
239239 @echo
240240 @echo " Copying to binaries folder"
241241 @echo
242242 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pb9.bin
243- @echo
244-
243+ @echo
244+
245245
246246build_generic-pe2 : TARGETFLAGS= -DTARGET_GENERIC_F103_PE2
247247# Set the linker script
248248build_generic-pe2 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
249249build_generic-pe2 : elf bin lss sym
250- copy_generic-pe2 :
250+ copy_generic-pe2 :
251251 @echo
252252 @echo " Copying to binaries folder"
253253 @echo
254254 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pe2.bin
255- @echo
256-
257-
255+ @echo
256+
257+
258258build_generic-pa9 : TARGETFLAGS= -DTARGET_GENERIC_F103_PA9
259259# Set the linker script
260260build_generic-pa9 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
261261build_generic-pa9 : elf bin lss sym
262- copy_generic-pa9 :
262+ copy_generic-pa9 :
263263 @echo
264264 @echo " Copying to binaries folder"
265265 @echo
266266 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pa9.bin
267- @echo
267+ @echo
268268
269269
270270build_generic-pe5 : TARGETFLAGS= -DTARGET_GENERIC_F103_PE5
271271# Set the linker script
272272build_generic-pe5 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
273273build_generic-pe5 : elf bin lss sym
274- copy_generic-pe5 :
274+ copy_generic-pe5 :
275275 @echo
276276 @echo " Copying to binaries folder"
277277 @echo
278278 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pe5.bin
279- @echo
280-
281-
279+ @echo
280+
281+
282282build_generic-pe5-button-pa0 : TARGETFLAGS= -DTARGET_GENERIC_F103_PE5_BUTTON_PA0
283283# Set the linker script
284284build_generic-pe5-button-pa0 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
285285build_generic-pe5-button-pa0 : elf bin lss sym
286- copy_generic-pe5-button-pa0 :
286+ copy_generic-pe5-button-pa0 :
287287 @echo
288288 @echo " Copying to binaries folder"
289289 @echo
290290 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pe5_button_pa0.bin
291- @echo
292-
293-
291+ @echo
292+
293+
294294build_generic-pb7 : TARGETFLAGS= -DTARGET_GENERIC_F103_PB7
295295# Set the linker script
296296build_generic-pb7 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
297297build_generic-pb7 : elf bin lss sym
298- copy_generic-pb7 :
298+ copy_generic-pb7 :
299299 @echo
300300 @echo " Copying to binaries folder"
301301 @echo
302302 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pb7.bin
303- @echo
303+ @echo
304304build_generic-pb0 : TARGETFLAGS= -DTARGET_GENERIC_F103_PB0
305305# Set the linker script
306306build_generic-pb0 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
307307build_generic-pb0 : elf bin lss sym
308- copy_generic-pb0 :
308+ copy_generic-pb0 :
309309 @echo
310310 @echo " Copying to binaries folder"
311311 @echo
312312 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pb0.bin
313- @echo
314-
315-
313+ @echo
314+
315+
316316build_stbee : TARGETFLAGS= -DTARGET_STBEE
317317# Set the linker script
318318build_stbee : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
319319build_stbee : elf bin lss sym
320- copy_stbee :
320+ copy_stbee :
321321 @echo
322322 @echo " Copying to binaries folder"
323323 @echo
324324 cp $(TARGET ) .bin bootloader_only_binaries/stbee_boot20.bin
325- @echo
325+ @echo
326326
327327build_naze32 : TARGETFLAGS= -DTARGET_NAZE32
328328# Set the linker script
329329build_naze32 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
330330build_naze32 : elf bin lss sym
331- copy_naze32 :
331+ copy_naze32 :
332332 @echo
333333 @echo " Copying to binaries folder"
334334 @echo
335335 cp $(TARGET ) .bin bootloader_only_binaries/naze32_boot20.bin
336- @echo
337-
336+ @echo
337+
338338build_generic-pb12 : TARGETFLAGS= -DTARGET_GENERIC_F103_PB12
339339# Set the linker script
340340build_generic-pb12 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
341341build_generic-pb12 : elf bin lss sym
342- copy_generic-pb12 :
342+ copy_generic-pb12 :
343343 @echo
344344 @echo " Copying to binaries folder"
345345 @echo
346346 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_pb12.bin
347- @echo
348-
347+ @echo
348+
349349build_hytiny-stm32f103t : TARGETFLAGS= -DTARGET_HYTINY_STM32F103T
350350# Set the linker script
351351build_hytiny-stm32f103t : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
352352build_hytiny-stm32f103t : elf bin lss sym
353- copy_hytiny-stm32f103t :
353+ copy_hytiny-stm32f103t :
354354 @echo
355355 @echo " Copying to binaries folder"
356356 @echo
357357 cp $(TARGET ) .bin bootloader_only_binaries/generic_boot20_hytiny.bin
358- @echo
358+ @echo
359359
360360build_dso138 : TARGETFLAGS= -DTARGET_DSO138
361361# Set the linker script
@@ -367,7 +367,7 @@ copy_dso138:
367367 @echo
368368 cp $(TARGET ) .bin bootloader_only_binaries/dso138_boot20.bin
369369 @echo
370-
370+
371371build_gd32f1-generic-pc13 : TARGETFLAGS= -DTARGET_GD32F1_GENERIC_F103_PC13
372372# Set the linker script
373373build_gd32f1-generic-pc13 : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
@@ -377,8 +377,8 @@ copy_gd32f1-generic-pc13:
377377 @echo " Copying to binaries folder"
378378 @echo
379379 cp $(TARGET ) .bin bootloader_only_binaries/gd32f1_generic_boot20_pc13.bin
380- @echo
381-
380+ @echo
381+
382382build_gd32f1-frankenmaple : TARGETFLAGS= -DTARGET_GD32F1_FRANKENMAPLE
383383# Set the linker script
384384build_gd32f1-frankenmaple : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
@@ -388,9 +388,9 @@ copy_gd32f1-frankenmaple:
388388 @echo " Copying to binaries folder"
389389 @echo
390390 cp $(TARGET ) .bin bootloader_only_binaries/gd32f1_frankenmaple.bin
391- @echo
392-
393-
391+ @echo
392+
393+
394394bin : $(TARGET ) .bin
395395elf : $(TARGET ) .elf
396396lss : $(TARGET ) .lss
@@ -507,8 +507,8 @@ clean_list :
507507 $(REMOVE ) $(AOBJ )
508508 $(REMOVE ) $(LST )
509509 $(REMOVE ) flash/tmpflash.bin
510- # $(REMOVE) $(SRC:.c=.s)
511- # $(REMOVE) $(SRC:.c=.d)
510+ # $(REMOVE) $(SRC:.c=.s)
511+ # $(REMOVE) $(SRC:.c=.d)
512512 $(REMOVE) .dep/*
513513
514514# Include the dependency files.
0 commit comments