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

makefiles/edbg: include openocd.inc.mk to define debug vars

This commit is contained in:
Alexandre Abadie 2020-11-24 14:47:05 +01:00
parent c6ad85a7b0
commit 3bafb6e2bc
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 4 additions and 7 deletions

View File

@ -41,10 +41,3 @@ ifeq ($(PROGRAMMER),)
PROGRAMMER ?= openocd
endif
endif
ifeq ($(PROGRAMMER),edbg)
# use edbg for flashing. must be included before openocd
include $(RIOTMAKE)/tools/edbg.inc.mk
# use openocd for debugging
include $(RIOTMAKE)/tools/openocd.inc.mk
endif

View File

@ -31,3 +31,7 @@ define edbg-flash-recipe
endef
flash-recipe = $(edbg-flash-recipe)
# use openocd for debugging, must be included at the end so FLASHER/RESET
# variables are already set for edbg.
include $(RIOTMAKE)/tools/openocd.inc.mk