RIOT/boards/nrf51dongle/Makefile.include
2018-10-27 09:47:42 +02:00

18 lines
477 B
Makefile

# define the used CPU
export CPU_MODEL = nrf51x22xxab
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# use jlink to program this board
PROGRAMMER ?= jlink
# set required jlink debug adapter for openocd if it's used
ifeq (openocd,$(PROGRAMMER))
DEBUG_ADAPTER = jlink
endif
# include nrf51 boards common configuration
include $(RIOTBOARD)/common/nrf51/Makefile.include