2014-04-17 19:41:19 +02:00
|
|
|
# define the cpu used by the stm32f0-discovery board
|
|
|
|
export CPU = stm32f0
|
|
|
|
export CPU_MODEL = stm32f051r8
|
|
|
|
|
2015-04-22 15:45:35 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
2016-02-13 21:51:08 +01:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
2014-04-17 19:41:19 +02:00
|
|
|
|
2015-04-22 15:45:35 +02:00
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
2014-04-17 19:41:19 +02:00
|
|
|
|
2015-04-22 15:45:35 +02:00
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTBOARD)/Makefile.include.openocd
|