1
0
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:
Francisco Molina 2019-09-10 16:27:43 +02:00 committed by Alexandre Abadie
parent f718cc581a
commit e325985321
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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