1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #11407 from aabadie/pr/boards/calliope-mini-programmer

boards/calliope-mini: rework programmer config (openocd and pyocd)
This commit is contained in:
Martine Lenders 2019-04-17 15:01:40 +02:00 committed by GitHub
commit b23fa61a8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,12 @@ ifeq (fscopy,$(PROGRAMMER))
export DEBUGGER =
export DEBUGSERVER =
else ifeq (openocd,$(PROGRAMMER))
DEBUG_ADAPTER = jlink
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