mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 18: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
|
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user