1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 10:52:44 +01:00

boards/nrf52840-mdk: fix openocd programmer configuration

For nrf52 based boards, the default adapter is JLink and nrf52840-mdk
uses dap.
This commit is contained in:
Alexandre Abadie 2019-03-05 11:48:11 +01:00
parent 5355f6a7be
commit 840a096ce6
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -10,6 +10,8 @@ ifeq (pyocd,$(PROGRAMMER))
# option is passed explicitly # option is passed explicitly
export FLASH_TARGET_TYPE ?= -t $(CPU) export FLASH_TARGET_TYPE ?= -t $(CPU)
include $(RIOTMAKE)/tools/pyocd.inc.mk include $(RIOTMAKE)/tools/pyocd.inc.mk
else ifeq (openocd,$(PROGRAMMER))
DEBUG_ADAPTER = dap
endif endif
include $(RIOTBOARD)/common/nrf52/Makefile.include include $(RIOTBOARD)/common/nrf52/Makefile.include