1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/yunjia-nrf51822/Makefile.include

20 lines
556 B
Makefile

# define the used CPU model
export CPU_MODEL = nrf51x22xxaa
# include common nrf51 boards module into the build
USEMODULE += boards_common_nrf51
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# This board uses an ST-Link v2 debug adapter
export DEBUG_ADAPTER ?= stlink
export STLINK_VERSION ?= 2
# use openocd to program this board
PROGRAMMER = openocd
# import nrf51 boards common configuration
include $(RIOTBOARD)/common/nrf51/Makefile.include