diff --git a/makefiles/tools/openocd-adapters/ftdi.inc.mk b/makefiles/tools/openocd-adapters/ftdi.inc.mk index 73432e3166..db8982f305 100644 --- a/makefiles/tools/openocd-adapters/ftdi.inc.mk +++ b/makefiles/tools/openocd-adapters/ftdi.inc.mk @@ -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