mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05: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:
parent
5355f6a7be
commit
840a096ce6
@ -10,6 +10,8 @@ ifeq (pyocd,$(PROGRAMMER))
|
||||
# option is passed explicitly
|
||||
export FLASH_TARGET_TYPE ?= -t $(CPU)
|
||||
include $(RIOTMAKE)/tools/pyocd.inc.mk
|
||||
else ifeq (openocd,$(PROGRAMMER))
|
||||
DEBUG_ADAPTER = dap
|
||||
endif
|
||||
|
||||
include $(RIOTBOARD)/common/nrf52/Makefile.include
|
||||
|
Loading…
Reference in New Issue
Block a user