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
|
|
|
|
PORT_DARWIN ?= $(shell ls -1 /dev/tty.usbserial* | head -n 1)
|
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
|
2015-04-22 15:45:34 +02:00
|
|
|
|
|
|
|
# include cortex defaults
|
|
|
|
include $(RIOTBOARD)/Makefile.include.cortex_common
|