jtag/presto: switch to command 'adapter serial'

The driver presto defines the command 'presto serial' to specify
the serial string of the adapter.

Remove and deprecate the driver command, and use 'adapter serial'.

Change-Id: I1a69acce7d4910082d2029d5941ae84f9424314c
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6653
Tested-by: jenkins
This commit is contained in:
Antonio Borneo
2021-10-07 22:35:12 +02:00
parent d7b2313b5a
commit c41d9f6190
3 changed files with 13 additions and 47 deletions

View File

@@ -765,4 +765,10 @@ proc kitprog_serial args {
eval adapter serial $args
}
lappend _telnet_autocomplete_skip "presto serial"
proc "presto serial" {args} {
echo "DEPRECATED! use 'adapter serial' not 'presto serial'"
eval adapter serial $args
}
# END MIGRATION AIDS