mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
18 lines
474 B
Makefile
18 lines
474 B
Makefile
# define the used CPU
|
|
export CPU_MODEL = nrf51x22xxac
|
|
|
|
# define the default port depending on the host OS
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
|
|
# use openocd by default to program this board
|
|
PROGRAMMER ?= openocd
|
|
|
|
# dap debug adapter is required for openocd
|
|
ifeq (openocd,$(PROGRAMMER))
|
|
DEBUG_ADAPTER = dap
|
|
endif
|
|
|
|
# include nrf51 boards common configuration
|
|
include $(RIOTBOARD)/common/nrf51/Makefile.include
|