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

26 lines
732 B
Makefile
Raw Normal View History

2016-10-29 14:26:31 +02:00
# define the used CPU
export CPU_MODEL = nrf51x22xxab
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
2018-10-24 17:56:24 +02:00
# this board supports flashing through plain fscopy, using JLink or using
# openocd. Default programmer is fscopy
2017-05-18 13:18:54 +02:00
PROGRAMMER ?= fscopy
2017-05-18 13:18:54 +02:00
ifeq (fscopy,$(PROGRAMMER))
2018-03-26 18:32:05 +02:00
export FFLAGS = $(HEXFILE)
2016-10-29 14:26:31 +02:00
export DEBUGGER_FLAGS =
export FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
export DEBUGGER =
export DEBUGSERVER =
else ifeq (openocd,$(PROGRAMMER))
# this board uses a daplink adapter by default
DEBUG_ADAPTER = dap
2016-10-29 14:26:31 +02:00
endif
2018-10-24 17:56:24 +02:00
# include nrf51 boards common configuration
include $(RIOTBOARD)/common/nrf51/Makefile.include