2014-08-25 13:45:22 +02:00
|
|
|
## the cpu to build for
|
|
|
|
export CPU = stm32f1
|
|
|
|
export CPU_MODEL = stm32f103re
|
|
|
|
|
|
|
|
# set default port depending on operating system
|
2015-04-22 15:45:34 +02:00
|
|
|
PORT_LINUX ?= /dev/ttyUSB1
|
2016-02-13 21:51:08 +01:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
2014-08-25 13:45:22 +02:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
2014-08-25 13:45:22 +02:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTBOARD)/Makefile.include.openocd
|
2014-08-25 13:45:22 +02:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# include board dependencies
|
2014-08-25 13:45:22 +02:00
|
|
|
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|