# define the cpu used by the nRF52 DK export CPU = nrf52 export CPU_MODEL = nrf52xxaa # set default port depending on operating system PORT_LINUX ?= /dev/ttyACM0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*))) # setup the boards dependencies include $(RIOTBOARD)/$(BOARD)/Makefile.dep # setup JLink for flashing export JLINK_DEVICE := nrf52 include $(RIOTBOARD)/Makefile.include.jlink # setup serial terminal include $(RIOTBOARD)/Makefile.include.serial