Skip to content

Commit 2d94499

Browse files
committed
bootloader: fix makefile
1 parent 02e9ebd commit 2d94499

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bootloader/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
MCULIB ?= /persist/mculib
22
DEVICE = gd32f303cc
33
OPENCM3_DIR = /persist/libopencm3
4-
OBJS += main.o ../common.o command_parser.o stream_fifo.o
4+
OBJS += main.o ../common.o ../command_parser.o ../stream_fifo.o
55
OBJS += $(MCULIB)/fastwiring.o $(MCULIB)/usbserial.o
66

7-
VPATH += ../
87

98
CFLAGS += -Os -g
109
CPPFLAGS += -Os -g --std=c++0x -fno-exceptions -fno-rtti -I$(MCULIB)/include -DMCULIB_DEVICE_STM32F103 -DSTM32F103 -DSTM32F1 -D_XOPEN_SOURCE=600
@@ -19,7 +18,7 @@ LDSCRIPT = ./gd32f303cc.ld
1918

2019
.PHONY: clean all
2120

22-
all: binary.elf binary.hex
21+
all: binary.elf binary.hex binary.bin
2322

2423
clean:
2524
$(Q)$(RM) -rf binary.* *.o

0 commit comments

Comments
 (0)