2021-02-08 21:29:51 +01:00
|
|
|
# for this board, flash with OpenOCD by default. PyOCD is also supported.
|
2021-02-07 17:13:34 +01:00
|
|
|
PROGRAMMER ?= openocd
|
2021-02-11 14:59:43 +01:00
|
|
|
PROGRAMMERS_SUPPORTED += pyocd
|
|
|
|
|
2021-02-18 17:29:53 +01:00
|
|
|
# The board is not recognized automatically by pyocd, so the CPU target
|
|
|
|
# option is passed explicitly
|
|
|
|
PYOCD_FLASH_TARGET_TYPE ?= -t $(CPU)
|
|
|
|
OPENOCD_DEBUG_ADAPTER = dap
|
2021-02-07 17:13:34 +01:00
|
|
|
|
2021-02-16 11:38:26 +01:00
|
|
|
ifneq (,$(filter microbit,$(USEMODULE)))
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/microbit/include
|
|
|
|
endif
|
|
|
|
|
2021-02-07 17:13:34 +01:00
|
|
|
# include nrf52 boards common configuration
|
|
|
|
include $(RIOTBOARD)/common/nrf52/Makefile.include
|