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
Gaëtan Harter 636285ebe4
boards: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +02:00

17 lines
481 B
Makefile

# 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
DEBUG_ADAPTER ?= stlink
STLINK_VERSION ?= 2
# use openocd to program this board
PROGRAMMER = openocd
# import nrf51 boards common configuration
include $(RIOTBOARD)/common/nrf51/Makefile.include