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:
parent
c6ad85a7b0
commit
3bafb6e2bc
@ -41,10 +41,3 @@ ifeq ($(PROGRAMMER),)
|
|||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
endif
|
endif
|
||||||
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
|
|
||||||
|
@ -31,3 +31,7 @@ define edbg-flash-recipe
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
flash-recipe = $(edbg-flash-recipe)
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user