# define the used CPU model export CPU_MODEL = nrf51x22xxaa # 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 PROGRAMMER = openocd # include nrf51 boards common configuration include $(RIOTBOARD)/common/nrf51/Makefile.include