2015-06-15 23:03:29 +02:00
|
|
|
# define the used CPU
|
|
|
|
export CPU = nrf51
|
|
|
|
export CPU_MODEL = nrf51x22xxaa
|
2014-10-26 15:59:38 +01:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
|
|
PORT_DARWIN ?= $(shell ls -1 /dev/tty.SLAB_USBtoUART* | head -n 1)
|
2014-10-26 15:59:38 +01:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|
2014-10-26 15:59:38 +01:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# this board uses openocd
|
|
|
|
include $(RIOTBOARD)/Makefile.include.openocd
|
2014-10-26 15:59:38 +01:00
|
|
|
|
2016-01-27 10:34:46 +01:00
|
|
|
# export board specific includes to the global includes-listing
|
|
|
|
export INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|