# 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*))) # this board uses openocd with st-link PROGRAMMER ?= openocd OPENOCD_DEBUG_ADAPTER ?= stlink STLINK_VERSION ?= 2 # Tell renode on which UART stdio is available RENODE_SYSBUS_UART ?= sysbus.uart2 # openocd programmer is supported PROGRAMMERS_SUPPORTED += openocd