Skip to content

Commit

Permalink
Merge pull request #20507 from benpicco/tools/openocd-tigard_fix
Browse files Browse the repository at this point in the history
tools/openocd: define SWD_EN signal for tigard
  • Loading branch information
maribu authored Mar 26, 2024
2 parents 222a2e1 + 3c78c3d commit 2c93cde
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions makefiles/tools/openocd-adapters/ftdi.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2c93cde

Please sign in to comment.