File tree Expand file tree Collapse file tree 4 files changed +30
-1
lines changed
Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ generic-pb0: begin clean gccversion build_generic-pb0 sizeafter finished copy_g
130130stbee : begin clean gccversion build_stbee sizeafter finished copy_stbee end
131131naze32 : begin clean gccversion build_naze32 sizeafter finished copy_naze32 end
132132generic-pb12 : begin clean gccversion build_generic-pb12 sizeafter finished copy_generic-pb12 end
133+ hytiny-stm32f103t : begin clean gccversion build_hytiny-stm32f103t sizeafter finished copy_hytiny-stm32f103t end
133134build : elf bin lss sym
134135
135136build_maple-mini : TARGETFLAGS= -DTARGET_MAPLE_MINI
@@ -340,6 +341,19 @@ copy_generic-pb12:
340341 cp $(TARGET ) .bin binaries/generic_boot20_pb12.bin
341342 @echo
342343
344+ build_hytiny-stm32f103t : TARGETFLAGS= -DTARGET_HYTINY_STM32F103T
345+ # Set the linker script
346+ build_hytiny-stm32f103t : LDFLAGS +=-T$(ST_LIB ) /c_only_md_high_density.ld
347+ build_hytiny-stm32f103t : elf bin lss sym
348+ copy_hytiny-stm32f103t :
349+ @echo
350+ @echo " Copying to binaries folder"
351+ @echo
352+ cp $(TARGET ) .bin binaries/generic_boot20_hytiny.bin
353+ @echo
354+
355+
356+
343357bin : $(TARGET ) .bin
344358elf : $(TARGET ) .elf
345359lss : $(TARGET ) .lss
Original file line number Diff line number Diff line change 288288 #define LED_ON_STATE 1
289289 #define BOOTLOADER_WAIT 30
290290
291+ #elif defined TARGET_HYTINY_STM32F103T
292+
293+ #define HAS_MAPLE_HARDWARE 1
294+
295+
296+ #define LED_BANK GPIOA
297+ #define LED_PIN 1
298+ #define LED_ON_STATE 0
299+ #define BOOTLOADER_WAIT 30
300+
301+ /* USB Disc Pin Setup. USB DISC is PA0 */
302+ #define USB_DISC_BANK GPIOA
303+ #define USB_DISC_PIN 0
304+
291305
292306#else
293307 #error "No config for this target"
Original file line number Diff line number Diff line change @@ -15,4 +15,5 @@ make generic-pb7
1515make generic-pb0
1616make stbee
1717make naze32
18- make generic-pb12
18+ make generic-pb12
19+ make hytiny-stm32f103t
You can’t perform that action at this time.
0 commit comments