aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/startup.tcl
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2021-10-07 19:34:27 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2021-11-28 10:50:50 +0000
commita3b69dee622066d3a2b70c32775818d82b5ffb54 (patch)
tree31bf5ef65d1e726d51810881b4beea6f3dca28d3 /src/jtag/startup.tcl
parent0343ae7cc734d8dfae17ff1ae9dbe834962f6da3 (diff)
downloadriscv-openocd-a3b69dee622066d3a2b70c32775818d82b5ffb54.zip
riscv-openocd-a3b69dee622066d3a2b70c32775818d82b5ffb54.tar.gz
riscv-openocd-a3b69dee622066d3a2b70c32775818d82b5ffb54.tar.bz2
jtag/aice: switch to command 'adapter serial'
The driver aice defines the command 'aice serial' to specify the serial string of the adapter, but actually does not use this value in the code. Remove and deprecate the driver command, and use 'adapter serial'. Change-Id: I892e0a4e1b41a7a87adf54a5736abf7419f32979 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6648 Tested-by: jenkins
Diffstat (limited to 'src/jtag/startup.tcl')
-rw-r--r--src/jtag/startup.tcl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jtag/startup.tcl b/src/jtag/startup.tcl
index d5b2ae2..b6c185e 100644
--- a/src/jtag/startup.tcl
+++ b/src/jtag/startup.tcl
@@ -735,4 +735,10 @@ proc ft232r_restore_serial args {
eval ft232r restore_serial $args
}
+lappend _telnet_autocomplete_skip "aice serial"
+proc "aice serial" {args} {
+ echo "DEPRECATED! use 'adapter serial' not 'aice serial'"
+ eval adapter serial $args
+}
+
# END MIGRATION AIDS