2014-06-24 23:37:10 +02:00
|
|
|
# define the cpu used by the stm32f3-discovery board
|
|
|
|
export CPU = stm32f3
|
|
|
|
export CPU_MODEL = stm32f303vc
|
|
|
|
|
2015-04-22 15:45:35 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
|
|
PORT_DARWIN ?= $(shell ls -1 /dev/tty.SLAB_USBtoUART* | head -n 1)
|
2014-06-24 23:37:10 +02:00
|
|
|
|
2015-04-22 15:45:35 +02:00
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
2014-06-24 23:37:10 +02:00
|
|
|
|
2015-04-22 15:45:35 +02:00
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTBOARD)/Makefile.include.openocd
|
2014-06-24 23:37:10 +02:00
|
|
|
|
2016-01-27 10:34:46 +01:00
|
|
|
# export board specific includes to the global includes-listing
|
|
|
|
export INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|