mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tools/openocd: define SWD_EN signal for tigard
This commit is contained in:
parent
b424711554
commit
3c78c3d8ac
@ -11,3 +11,10 @@ OPENOCD_TRANSPORT ?= swd
|
|||||||
ifneq (,$(DEBUG_ADAPTER_ID))
|
ifneq (,$(DEBUG_ADAPTER_ID))
|
||||||
OPENOCD_ADAPTER_INIT += -c 'ftdi_serial $(DEBUG_ADAPTER_ID)'
|
OPENOCD_ADAPTER_INIT += -c 'ftdi_serial $(DEBUG_ADAPTER_ID)'
|
||||||
endif
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user