mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
11 lines
310 B
Makefile
11 lines
310 B
Makefile
# CMSIS DAP debug adapter
|
|
OPENOCD_ADAPTER_INIT ?= -c 'source [find interface/cmsis-dap.cfg]'
|
|
|
|
# default to SWD
|
|
OPENOCD_TRANSPORT ?= swd
|
|
|
|
# Add serial matching command, only if DEBUG_ADAPTER_ID was specified
|
|
ifneq (,$(DEBUG_ADAPTER_ID))
|
|
OPENOCD_ADAPTER_INIT += -c 'cmsis_dap_serial $(DEBUG_ADAPTER_ID)'
|
|
endif
|