target/adi_v5_swd: move setting of do_reconnect one level up
[openocd.git] / tcl / target / vd_riscv.cfg
blobf08cb1ac8be0148b171ff2065cc58a1c391ca88b
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 # Cadence virtual debug interface
3 # RISCV core
5 if {![info exists _HARTID]} {
6         set _HARTID 0x00
8 if {![info exists _CHIPNAME]} {
9         set _CHIPNAME riscv
11 set _TARGETNAME $_CHIPNAME.cpu
13 target create $_TARGETNAME riscv -chain-position $_TARGETNAME -coreid $_HARTID
15 riscv set_reset_timeout_sec 120
16 riscv set_command_timeout_sec 120
17 riscv set_mem_access sysbus progbuf