2015-01-21 08:07:53 +01:00
|
|
|
## the cpu to build for
|
|
|
|
export CPU = stm32f3
|
|
|
|
export CPU_MODEL = stm32f334r8
|
|
|
|
|
|
|
|
#define the default port depending on the host OS
|
2015-04-22 15:45:34 +02:00
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
|
|
PORT_DARWIN ?= $(shell ls -1 /dev/tty.usbmodem* | head -n 1)
|
2015-01-21 08:07:53 +01:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
2015-01-21 08:07:53 +01:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTBOARD)/Makefile.include.openocd
|
2015-01-21 08:07:53 +01:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# include cortex defaults
|
2015-05-28 15:09:17 +02:00
|
|
|
include $(RIOTBOARD)/Makefile.include.cortexm_common
|