board is now indicated when compiling
This commit is contained in:
parent
845067f513
commit
94e27a295b
4
Makefile
4
Makefile
|
@ -58,8 +58,8 @@ $(info run "git submodule init" and "git submodule update" before runnig make)
|
||||||
$(error libopencm3 repository is not initialized)
|
$(error libopencm3 repository is not initialized)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# device flag
|
# device flags
|
||||||
DEFS += -DSTM32F1
|
DEFS += -DSTM32F1 -D$(BOARD)
|
||||||
|
|
||||||
# C flags
|
# C flags
|
||||||
CFLAGS += -Os -g
|
CFLAGS += -Os -g
|
||||||
|
|
Loading…
Reference in New Issue