target/adi_v5_swd: move setting of do_reconnect one level up
[openocd.git] / tcl / target / vd_cortex_m.cfg
blob7db9d3aba4dc30b8b6560d8884851158aa1fc8d2
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 # Cadence virtual debug interface
3 # ARM Cortex M
5 if {![info exists CHIPNAME]} {
6         set CHIPNAME cortex_m
8 set _TARGETNAME $CHIPNAME.cpu
9 set _DAPNAME $CHIPNAME.dap
11 dap create $_DAPNAME -chain-position $_TARGETNAME
13 target create $_TARGETNAME cortex_m -dap $_DAPNAME