2017-11-16 17:17:41 +01:00
|
|
|
# export this module and its includes
|
|
|
|
USEMODULE += boards_common_nucleo
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/nucleo/include
|
2017-11-16 12:30:16 +01:00
|
|
|
|
2018-02-13 10:21:06 +01:00
|
|
|
# we use shared STM32 configuration snippets
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
|
2017-11-16 17:17:41 +01:00
|
|
|
# configure the serial terminal
|
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
2018-01-30 08:37:56 +01:00
|
|
|
|
|
|
|
# setup serial terminal
|
2017-11-16 17:17:41 +01:00
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
|
2018-01-30 08:37:56 +01:00
|
|
|
# all Nucleo boards have an on-board ST-link adapter
|
2017-11-16 17:17:41 +01:00
|
|
|
export DEBUG_ADAPTER ?= stlink
|
|
|
|
|
2018-01-30 08:37:56 +01:00
|
|
|
# nucleo boards use openocd
|
2017-11-16 17:17:41 +01:00
|
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|