# we use shared STM32 configuration snippets INCLUDES += -I$(RIOTBOARD)/common/stm32/include # set default port depending on operating system PORT_LINUX ?= /dev/ttyUSB0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*))) # setup serial terminal include $(RIOTMAKE)/tools/serial.inc.mk # this board uses openocd with st-link PROGRAMMER ?= openocd DEBUG_ADAPTER ?= stlink STLINK_VERSION ?= 2