1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 16:01:18 +01:00
RIOT/boards/microbit/Makefile.include
2020-11-20 14:24:06 +01:00

19 lines
526 B
Makefile

# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# for this board we support flashing via openocd or pyocd
PROGRAMMER ?= openocd
ifeq (openocd,$(PROGRAMMER))
DEBUG_ADAPTER = dap
else ifeq (pyocd,$(PROGRAMMER))
include $(RIOTMAKE)/tools/pyocd.inc.mk
endif
# QEMU 4.0 added microbit system emulation.
RIOT_EMULATOR ?= qemu
# include nrf51 boards common configuration
include $(RIOTBOARD)/common/nrf51/Makefile.include