# for this board we support flashing via openocd or pyocd PROGRAMMER ?= openocd # This board can be flashed with pyocd PROGRAMMERS_SUPPORTED += pyocd OPENOCD_DEBUG_ADAPTER = dap # PyOCD doesn't recognize automatically the board ID, so target type has to # be passed explicitly PYOCD_FLASH_TARGET_TYPE ?= -t nrf51 ifneq (,$(filter microbit,$(USEMODULE))) INCLUDES += -I$(RIOTBOARD)/common/microbit/include endif # include nrf51 boards common configuration include $(RIOTBOARD)/common/nrf51/Makefile.include