tcl: fix remaining scripts after rework adapter commands 24/5424/2
authorAntonio Borneo <borneo.antonio@gmail.com>
Thu, 30 Jan 2020 17:11:54 +0000 (18:11 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Thu, 6 Feb 2020 21:15:55 +0000 (21:15 +0000)
commit095809648ba2aa018adef7a6ff75e9eaf2bb26bb
tree71da1aab5bcb5c5ca4ba54c8fca84f83df47502c
parentb4dc07388181addb14980f45251ae26c0be6d34e
tcl: fix remaining scripts after rework adapter commands

Some script have been added or modified after the patches for
reworking the adapter commands were pushed in gerrit.
Such scripts use the old command syntax and trigger a "deprecated"
warning at runtime.

Fix them with the same sed commands used for the other scripts:
sed -i 's/^interface /adapter driver /' $(find tcl/ -type f)
sed -i 's/adapter_khz/adapter speed/g' $(find tcl/ -type f)
sed -i 's/adapter_nsrst_delay/adapter srst delay/g' $(find tcl/ -type f)
sed -i 's/adapter_nsrst_assert_width/adapter srst pulse_width/g' $(find tcl/ -type f)

Change-Id: I0824d6c506a9af3eb9129b74c02a92b4eb1b100d
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5424
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Tested-by: jenkins
tcl/board/rigado_bmd300_ek.cfg
tcl/interface/stlink-dap.cfg
tcl/target/infineon/tle987x.cfg
tcl/target/stm32wbx.cfg
tcl/target/swm050.cfg