2014-07-28 22:41:55 +02:00
|
|
|
# define the cpu used by the msb-iot board
|
|
|
|
export CPU = stm32f4
|
|
|
|
export CPU_MODEL = stm32f415rg
|
|
|
|
|
2018-02-13 11:25:32 +01:00
|
|
|
# we use shared STM32 configuration snippets
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
|
2015-04-22 15:45:34 +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*)))
|
2015-04-22 15:45:34 +02:00
|
|
|
|
|
|
|
# setup serial terminal
|
2016-01-27 10:47:12 +01:00
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
2015-04-22 15:45:34 +02:00
|
|
|
|
2017-10-06 14:59:07 +02:00
|
|
|
export DEBUG_ADAPTER ?= stlink
|
|
|
|
export STLINK_VERSION ?= 2
|
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# this board uses openocd
|
2016-01-27 10:47:12 +01:00
|
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|