2015-04-22 15:45:34 +02:00
|
|
|
# the cpu to build for
|
2014-06-11 14:59:24 +02:00
|
|
|
export CPU = stm32f1
|
|
|
|
export CPU_MODEL = stm32f103re
|
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB1
|
|
|
|
PORT_DARWIN ?= $(shell ls -1 /dev/tty.usbserial* | head -n 1)
|
2014-06-11 14:59:24 +02:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# setup serial terminal
|
|
|
|
export BAUD = 500000
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
2014-06-11 14:59:24 +02:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTBOARD)/Makefile.include.openocd
|
2014-06-11 14:59:24 +02:00
|
|
|
|
|
|
|
# export board specific includes to the global includes-listing
|
2015-04-22 15:45:34 +02:00
|
|
|
export INCLUDES += -I$(RIOTBASE)/drivers/at86rf231/include -I$(RIOTBASE)/sys/net/include
|
2014-06-11 14:59:24 +02:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# include board dependencies
|
2014-07-03 10:36:46 +02:00
|
|
|
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
2015-04-22 15:45:34 +02:00
|
|
|
|
|
|
|
# include cortex defaults
|
|
|
|
include $(RIOTBOARD)/Makefile.include.cortex_common
|