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
|
|
|
|
2015-04-22 15:45:35 +02:00
|
|
|
# include cortex defaults
|
2015-05-28 15:09:17 +02:00
|
|
|
include $(RIOTBOARD)/Makefile.include.cortexm_common
|