# define the cpu used by the msb-iot board export CPU = stm32f4 export CPU_MODEL = stm32f415rg # we use shared STM32 configuration snippets INCLUDES += -I$(RIOTBOARD)/common/stm32/include #define the default port depending on the host OS PORT_LINUX ?= /dev/ttyUSB0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*))) # setup serial terminal include $(RIOTMAKE)/tools/serial.inc.mk export DEBUG_ADAPTER ?= stlink export STLINK_VERSION ?= 2 # this board uses openocd include $(RIOTMAKE)/tools/openocd.inc.mk