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
583 B
Makefile

# define the default port depending on the host OS
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# for this board we support flashing via openocd or pyocd
PROGRAMMER ?= openocd
PROGRAMMERS_SUPPORTED += pyocd
OPENOCD_DEBUG_ADAPTER = dap
# QEMU 4.0 added microbit system emulation.
RIOT_EMULATOR ?= qemu
ifneq (,$(filter microbit,$(USEMODULE)))
INCLUDES += -I$(RIOTBOARD)/common/microbit/include
endif
ifeq (1,$(EMULATE))
RIOT_TEST_TIMEOUT ?= 20
endif
# include nrf51 boards common configuration
include $(RIOTBOARD)/common/nrf51/Makefile.include