mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 14:03:55 +01:00
makefiles/tools: pass DEBUG_ADAPTER_ID to pyocd
This commit is contained in:
parent
f718cc581a
commit
e325985321
@ -8,3 +8,8 @@ FFLAGS ?= flash $(FLASHFILE)
|
||||
DEBUGGER_FLAGS ?= debug $(ELFFILE)
|
||||
DEBUGSERVER_FLAGS ?= debug-server
|
||||
RESET_FLAGS ?= reset
|
||||
|
||||
# Add serial matching command, only if DEBUG_ADAPTER_ID was specified
|
||||
ifneq (,$(DEBUG_ADAPTER_ID))
|
||||
export PYOCD_ADAPTER_INIT += -u $(DEBUG_ADAPTER_ID)
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user