2016-10-29 14:26:31 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
|
|
|
2019-06-04 15:27:07 +02:00
|
|
|
# for this board we support flashing via openocd or pyocd
|
|
|
|
PROGRAMMER ?= openocd
|
2021-02-11 14:59:01 +01:00
|
|
|
PROGRAMMERS_SUPPORTED += pyocd
|
2018-10-24 21:36:49 +02:00
|
|
|
|
2021-02-18 17:29:53 +01:00
|
|
|
OPENOCD_DEBUG_ADAPTER = dap
|
2018-10-24 17:56:24 +02:00
|
|
|
|
2019-05-25 22:52:30 +02:00
|
|
|
# QEMU 4.0 added microbit system emulation.
|
2020-11-20 14:23:23 +01:00
|
|
|
RIOT_EMULATOR ?= qemu
|
2019-05-25 22:52:30 +02:00
|
|
|
|
2021-02-16 11:38:02 +01:00
|
|
|
ifneq (,$(filter microbit,$(USEMODULE)))
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/microbit/include
|
|
|
|
endif
|
|
|
|
|
2022-04-12 11:36:57 +02:00
|
|
|
ifeq (1,$(EMULATE))
|
|
|
|
RIOT_TEST_TIMEOUT ?= 20
|
|
|
|
endif
|
|
|
|
|
2018-10-24 17:56:24 +02:00
|
|
|
# include nrf51 boards common configuration
|
|
|
|
include $(RIOTBOARD)/common/nrf51/Makefile.include
|