Skip to content

Commit 1eae2b6

Browse files
committed
Add DSO138 to Makefile
1 parent 6e3ce48 commit 1eae2b6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

STM32F1/Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ stbee : begin clean gccversion build_stbee sizeafter finished copy_stbee end
131131
naze32: begin clean gccversion build_naze32 sizeafter finished copy_naze32 end
132132
generic-pb12: begin clean gccversion build_generic-pb12 sizeafter finished copy_generic-pb12 end
133133
hytiny-stm32f103t: begin clean gccversion build_hytiny-stm32f103t sizeafter finished copy_hytiny-stm32f103t end
134+
dso138: begin clean gccversion build_dso138 sizeafter finished copy_dso138 end
134135
build: elf bin lss sym
135136

136137
build_maple-mini: TARGETFLAGS= -DTARGET_MAPLE_MINI
@@ -351,6 +352,17 @@ copy_hytiny-stm32f103t:
351352
@echo
352353
cp $(TARGET).bin binaries/generic_boot20_hytiny.bin
353354
@echo
355+
356+
build_dso138: TARGETFLAGS= -DTARGET_DSO138
357+
# Set the linker script
358+
build_dso138: LDFLAGS +=-T$(ST_LIB)/c_only_md_high_density.ld
359+
build_dso138: elf bin lss sym
360+
copy_dso138:
361+
@echo
362+
@echo "Copying to binaries folder"
363+
@echo
364+
cp $(TARGET).bin binaries/dso138_boot20.bin
365+
@echo
354366

355367

356368

0 commit comments

Comments
 (0)