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

Merge pull request #20507 from benpicco/tools/openocd-tigard_fix

tools/openocd: define SWD_EN signal for tigard
This commit is contained in:
Marian Buschsieweke 2024-03-26 18:19:15 +00:00 committed by GitHub
commit 2c93cded6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,3 +11,10 @@ OPENOCD_TRANSPORT ?= swd
ifneq (,$(DEBUG_ADAPTER_ID))
OPENOCD_ADAPTER_INIT += -c 'ftdi_serial $(DEBUG_ADAPTER_ID)'
endif
ifeq (swd, $(OPENOCD_TRANSPORT))
ifeq (tigard, $(OPENOCD_FTDI_ADAPTER))
# Add dummy SWD_EN signal
OPENOCD_ADAPTER_INIT += -c 'ftdi layout_signal SWD_EN -data 0'
endif
endif