X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Finterface%2Fsysfsgpio-raspberrypi.cfg;h=9f5b87c388fb1ea573c708ae35cc338e0b983762;hb=2b66816a4d88f1c15468b3d307b59f1242a6a4be;hp=105173c94a4291bc7de380bb7d831b184b541c05;hpb=fe52282c37cc0c4ab9863e95ef6970e6fad540b4;p=openocd.git diff --git a/tcl/interface/sysfsgpio-raspberrypi.cfg b/tcl/interface/sysfsgpio-raspberrypi.cfg index 105173c94a..9f5b87c388 100644 --- a/tcl/interface/sysfsgpio-raspberrypi.cfg +++ b/tcl/interface/sysfsgpio-raspberrypi.cfg @@ -10,15 +10,22 @@ interface sysfsgpio -# This has no effect on the driver, but is required -adapter_khz 100 - # Each of the JTAG lines need a gpio number set: tck tms tdi tdo # Header pin numbers: 23 22 19 21 sysfsgpio_jtag_nums 11 25 10 9 -# At least one of srst or trst needs to be specified +# Each of the SWD lines need a gpio number set: swclk swdio +# Header pin numbers: 23 22 +sysfsgpio_swd_nums 11 25 + +# If you define trst or srst, use appropriate reset_config # Header pin numbers: TRST - 26, SRST - 18 -sysfsgpio_trst_num 7 + +# sysfsgpio_trst_num 7 +# reset_config trst_only + # sysfsgpio_srst_num 24 +# reset_config srst_only srst_push_pull +# or if you have both connected, +# reset_config trst_and_srst srst_push_pull