2018-10-24 17:55:43 +02:00
|
|
|
# include common nrf51 boards module into the build
|
|
|
|
USEMODULE += boards_common_nrf51
|
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
2016-02-13 21:51:08 +01:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
2014-10-26 15:59:38 +01:00
|
|
|
|
2018-10-24 17:55:43 +02:00
|
|
|
# this board uses an ST-Link v2 debug adapter
|
|
|
|
DEBUG_ADAPTER ?= stlink
|
|
|
|
STLINK_VERSION ?= 2
|
2014-10-26 15:59:38 +01:00
|
|
|
|
2018-10-24 17:55:43 +02:00
|
|
|
PROGRAMMER = openocd
|
2017-10-06 14:59:07 +02:00
|
|
|
|
2018-10-24 17:55:43 +02:00
|
|
|
# include nrf51 boards common configuration
|
|
|
|
include $(RIOTBOARD)/common/nrf51/Makefile.include
|