jtag/hla, jtag/stlink: switch to command 'adapter serial'
The driver hla defines the command 'hla_serial' to specify the serial string of the adapter. The driver st-link defines the command 'st-link serial' to specify the serial string of the adapter. Remove and deprecate the driver commands and use 'adapter serial'. Change-Id: I9505c398a77125b1ebf4ba71da7baf4d663b75be Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6657 Tested-by: jenkins
This commit is contained in:
@@ -759,6 +759,12 @@ proc "ftdi serial" {args} {
|
||||
eval adapter serial $args
|
||||
}
|
||||
|
||||
lappend _telnet_autocomplete_skip hla_serial
|
||||
proc hla_serial args {
|
||||
echo "DEPRECATED! use 'adapter serial' not 'hla_serial'"
|
||||
eval adapter serial $args
|
||||
}
|
||||
|
||||
lappend _telnet_autocomplete_skip "jlink serial"
|
||||
proc "jlink serial" {args} {
|
||||
echo "DEPRECATED! use 'adapter serial' not 'jlink serial'"
|
||||
@@ -777,6 +783,12 @@ proc "presto serial" {args} {
|
||||
eval adapter serial $args
|
||||
}
|
||||
|
||||
lappend _telnet_autocomplete_skip "st-link serial"
|
||||
proc "st-link serial" {args} {
|
||||
echo "DEPRECATED! use 'adapter serial' not 'st-link serial'"
|
||||
eval adapter serial $args
|
||||
}
|
||||
|
||||
lappend _telnet_autocomplete_skip "vsllink usb_serial"
|
||||
proc "vsllink usb_serial" {args} {
|
||||
echo "DEPRECATED! use 'adapter serial' not 'vsllink usb_serial'"
|
||||
|
||||
Reference in New Issue
Block a user