2015-08-23 07:29:01 +02:00
|
|
|
# set default port depending on operating system
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
2016-02-13 21:51:08 +01:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
2015-08-23 07:29:01 +02:00
|
|
|
|
2018-10-24 18:01:16 +02:00
|
|
|
# use jlink to program this board
|
|
|
|
PROGRAMMER ?= jlink
|
2015-08-23 07:29:01 +02:00
|
|
|
|
2018-10-24 18:01:16 +02:00
|
|
|
# set required debug adapter for openocd if it's used
|
2021-02-18 17:29:53 +01:00
|
|
|
OPENOCD_DEBUG_ADAPTER = jlink
|
2015-08-23 07:29:01 +02:00
|
|
|
|
2018-10-24 18:01:16 +02:00
|
|
|
# include nrf51 boards common configuration
|
|
|
|
include $(RIOTBOARD)/common/nrf51/Makefile.include
|