2019-03-29 18:32:17 +01:00
|
|
|
# we use shared STM32 configuration snippets
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
|
2017-09-08 12:54:40 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
|
|
|
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
|
2018-01-30 08:39:46 +01:00
|
|
|
# this board has an on-board ST-link adapter
|
2019-05-31 11:43:47 +02:00
|
|
|
DEBUG_ADAPTER ?= stlink
|
2017-09-08 12:54:40 +02:00
|
|
|
|
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|