diff --git a/boards/calliope-mini/Makefile.include b/boards/calliope-mini/Makefile.include index 23f1c6e7d0..35575ba53e 100644 --- a/boards/calliope-mini/Makefile.include +++ b/boards/calliope-mini/Makefile.include @@ -18,6 +18,11 @@ ifeq (fscopy,$(PROGRAMMER)) export DEBUGSERVER = else ifeq (openocd,$(PROGRAMMER)) DEBUG_ADAPTER = dap +else ifeq (pyocd,$(PROGRAMMER)) + # PyOCD doesn't recognize automatically the board ID, so target type has to + # be passed explicitly + export FLASH_TARGET_TYPE ?= -t nrf51 + include $(RIOTMAKE)/tools/pyocd.inc.mk endif # include nrf51 boards common configuration