aboutsummaryrefslogtreecommitdiff
path: root/tcl/test
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2019-08-14 14:53:24 +0200
committerTomas Vanek <vanekt@fbl.cz>2020-01-02 21:24:45 +0000
commit5d08bcb715599466dc88d1cdf5b599a7bba1be6a (patch)
tree088b0bfa0b97681308eff91e35c532a61397b41e /tcl/test
parentc07b774e8f490984f749c2693f83483af7c0d098 (diff)
downloadriscv-openocd-5d08bcb715599466dc88d1cdf5b599a7bba1be6a.zip
riscv-openocd-5d08bcb715599466dc88d1cdf5b599a7bba1be6a.tar.gz
riscv-openocd-5d08bcb715599466dc88d1cdf5b599a7bba1be6a.tar.bz2
tcl: update scripts after "jtag_reset" got deprecated
Avoid annoying "deprecated" messages in the scripts distributed with OpenOCD code. Change-Id: I82d27cd420db30f0653efbd286a627ef56a8c1fd Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5287 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'tcl/test')
-rw-r--r--tcl/test/syntax1.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/test/syntax1.cfg b/tcl/test/syntax1.cfg
index 79d5384..5d013f0 100644
--- a/tcl/test/syntax1.cfg
+++ b/tcl/test/syntax1.cfg
@@ -5,8 +5,8 @@ jtag_ntrst_delay 200
reset_config trst_and_srst srst_pulls_trst
#LPCs need reset pulled while RTCK is low. 0 to activate JTAG, power-on reset is not enough
-jtag_reset 1 1
-jtag_reset 0 0
+adapter assert trst assert srst
+adapter deassert trst deassert srst
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)