aboutsummaryrefslogtreecommitdiff
path: root/projects/bootloader/Makefile
diff options
context:
space:
mode:
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)