# we use shared STM32 configuration snippets INCLUDES += -I$(RIOTBASE)/boards/common/stm32/include # setup programmer PROGRAMMERS_SUPPORTED += openocd PROGRAMMER ?= openocd OPENOCD_DEBUG_ADAPTER ?= stlink include $(RIOTMAKE)/tools/openocd.inc.mk # setup serial terminal PORT_LINUX ?= /dev/ttyACM0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*))) include $(RIOTMAKE)/tools/serial.inc.mk