From 5a19ab0e848a5a6974772a9918ca4a873675cade Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 1 Sep 2017 20:32:15 +0200 Subject: Add missing files --- fw/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'fw/Makefile') diff --git a/fw/Makefile b/fw/Makefile index f86df47..b6f64d0 100644 --- a/fw/Makefile +++ b/fw/Makefile @@ -52,9 +52,9 @@ sources.tar.xz: main.c transpose.c transpose.h tar -caf $@ $^ sources.c: sources.tar.xz - xxd -i $< > $@ + xxd -i $< | sed 's/=/__attribute__((section(".text")))=/' > $@ -main.elf: main.o startup_stm32f030x6.o system_stm32f0xx.o $(HAL_PATH)/Src/stm32f0xx_ll_utils.o base.o cmsis_exports.o transpose.o bus_addr.o +main.elf: main.o startup_stm32f030x6.o system_stm32f0xx.o $(HAL_PATH)/Src/stm32f0xx_ll_utils.o base.o cmsis_exports.o transpose.o bus_addr.o sources.o $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(OBJCOPY) -O ihex $@ $(@:.elf=.hex) $(OBJCOPY) -O binary $@ $(@:.elf=.bin) @@ -80,4 +80,6 @@ clean: rm -f **.expand rm -f transpose.elf rm -f crc.so + rm -f sources.tar.xz + rm -f sources.c -- cgit