# define the default port depending on the host OS PORT_LINUX ?= /dev/ttyUSB0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*))) # This board uses an ST-Link v2 debug adapter OPENOCD_DEBUG_ADAPTER ?= stlink STLINK_VERSION ?= 2 # import nrf51 boards common configuration include $(RIOTBOARD)/common/nrf51/Makefile.include