Browse Source

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>
jim
Marc Schink 1 year ago
committed by Antonio Borneo
parent
commit
8d70a67b20
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      tcl/board/novena-internal-fpga.cfg
  2. +4
    -4
      tcl/interface/sysfsgpio-raspberrypi.cfg

+ 1
- 1
tcl/board/novena-internal-fpga.cfg View File

@@ -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]

+ 4
- 4
tcl/interface/sysfsgpio-raspberrypi.cfg View File

@@ -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,


Loading…
Cancel
Save