# include common nrf51 boards module into the build USEMODULE += boards_common_nrf51 # 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 DEBUG_ADAPTER ?= stlink STLINK_VERSION ?= 2 # use openocd to program this board PROGRAMMER = openocd # import nrf51 boards common configuration include $(RIOTBOARD)/common/nrf51/Makefile.include