aboutsummaryrefslogtreecommitdiff
path: root/projects/bootloader/Makefile
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-06-08 09:29:45 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-06-08 09:29:45 +0200
commit9abe50042629ac64443738d4f4b66da95b116686 (patch)
tree55cb03618ac1d7c58ab60717e606ca554b190e57 /projects/bootloader/Makefile
parent3277ffbfe960da93c6f617005cc619958ed419d8 (diff)
parent8c345a87ef4d72d3aef2af9fc4114599d7ee0e56 (diff)
Merge branch 'master' of git.cryptech.is.:sw/stm32
Diffstat (limited to 'projects/bootloader/Makefile')
-rw-r--r--projects/bootloader/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/projects/bootloader/Makefile b/projects/bootloader/Makefile
index 4eef758..1e489c2 100644
--- a/projects/bootloader/Makefile
+++ b/projects/bootloader/Makefile
@@ -2,6 +2,19 @@ PROG = bootloader
OBJS = crc32.o dfu.o
+BOARD_OBJS = \
+ ./stm-init.o \
+ $(TOPLEVEL)/stm-fmc.o \
+ $(TOPLEVEL)/stm-uart.o \
+ $(TOPLEVEL)/stm-flash.o \
+ $(TOPLEVEL)/syscalls.o \
+ $(BOARD_DIR)/system_stm32f4xx.o \
+ $(BOARD_DIR)/stm32f4xx_hal_msp.o \
+ ./startup_stm32f429xx.o \
+ ./stm32f4xx_it.o
+
+LIBS = $(MBED_DIR)/libstmf4.a
+
all: $(PROG:=.elf)
%.elf: %.o $(BOARD_OBJS) $(OBJS) $(LIBS)