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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user