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

23 lines
710 B
Makefile
Raw Normal View History

2016-10-29 14:26:31 +02:00
# 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
2016-10-29 14:26:31 +02:00
endif
2018-10-24 17:56:24 +02:00
# QEMU 4.0 added microbit system emulation.
EMULATOR = qemu-system-arm
EMULATOR_FLAGS = -M microbit -device loader,file=$(ELFFILE) \
-serial stdio \
-monitor telnet::45454,server,nowait \
-nographic
2018-10-24 17:56:24 +02:00
# include nrf51 boards common configuration
include $(RIOTBOARD)/common/nrf51/Makefile.include