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

makefiles/sam0: fix debugging with edbg

OpenOCD should *always* be included for debugging if JLinkExe is not used.

fixes #12652
This commit is contained in:
Benjamin Valentin 2019-11-06 15:37:22 +01:00
parent d02ed3a3ff
commit 756cab9385

View File

@ -44,12 +44,10 @@ ifeq ($(PROGRAMMER),edbg)
endif
endif
# this board uses J-Link for debug and possibly flashing
ifeq ($(PROGRAMMER),jlink)
# this board uses J-Link for debug and possibly flashing
include $(RIOTMAKE)/tools/jlink.inc.mk
endif
# this board uses openocd for debug and possibly flashing
ifeq ($(PROGRAMMER),openocd)
else
# this board uses openocd for debug and possibly flashing
include $(RIOTMAKE)/tools/openocd.inc.mk
endif