aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorMarc Schink <dev@zapb.de>2021-07-31 23:51:56 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2021-08-14 13:36:38 +0100
commit8d70a67b200fbed8a5599873a55d7cab1e4c9994 (patch)
tree4fd527f866b24af9a35f7f6c64f1d83181670bf9 /tcl
parenta369b6b87a89bf09c51e65b037deb4bcd4683791 (diff)
downloadriscv-openocd-8d70a67b200fbed8a5599873a55d7cab1e4c9994.zip
riscv-openocd-8d70a67b200fbed8a5599873a55d7cab1e4c9994.tar.gz
riscv-openocd-8d70a67b200fbed8a5599873a55d7cab1e4c9994.tar.bz2
tcl/interface: Adapt config files to new sysfsgpio command syntax
Change-Id: I8e8dee6e8869d2853a7a73c8d4dc8b4891fb0389 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/6403 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/novena-internal-fpga.cfg2
-rw-r--r--tcl/interface/sysfsgpio-raspberrypi.cfg8
2 files changed, 5 insertions, 5 deletions
diff --git a/tcl/board/novena-internal-fpga.cfg b/tcl/board/novena-internal-fpga.cfg
index 0e9ff5b..7805862 100644
--- a/tcl/board/novena-internal-fpga.cfg
+++ b/tcl/board/novena-internal-fpga.cfg
@@ -19,6 +19,6 @@ adapter driver sysfsgpio
transport select jtag
# TCK TMS TDI TDO
-sysfsgpio_jtag_nums 136 139 137 138
+sysfsgpio jtag_nums 136 139 137 138
source [find cpld/xilinx-xc6s.cfg]
diff --git a/tcl/interface/sysfsgpio-raspberrypi.cfg b/tcl/interface/sysfsgpio-raspberrypi.cfg
index ebb1502..0030560 100644
--- a/tcl/interface/sysfsgpio-raspberrypi.cfg
+++ b/tcl/interface/sysfsgpio-raspberrypi.cfg
@@ -12,19 +12,19 @@ adapter driver sysfsgpio
# 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
+sysfsgpio jtag_nums 11 25 10 9
# Each of the SWD lines need a gpio number set: swclk swdio
# Header pin numbers: 23 22
-sysfsgpio_swd_nums 11 25
+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
+# sysfsgpio srst_num 24
# reset_config srst_only srst_push_pull
# or if you have both connected,