jtag/ft232r: switch to command 'adapter serial'
The driver ft232r defines the command 'ft232r serial_desc' to specify the serial string of the adapter. Remove and deprecate the driver command, and use 'adapter serial'. Change-Id: I0bd909923a668420604fed3c9f6a260716b044c7 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6650 Tested-by: jenkins
This commit is contained in:
@@ -2371,9 +2371,9 @@ This command is only available if your libusb1 is at least version 1.0.16.
|
||||
Specifies the @var{serial_string} of the adapter to use.
|
||||
If this command is not specified, serial strings are not checked.
|
||||
Only the following adapter drivers use the serial string from this command:
|
||||
cmsis_dap.
|
||||
cmsis_dap, ft232r.
|
||||
The following adapters have their own command to specify the serial string:
|
||||
ft232r, ftdi, hla, jlink, kitprog, presto, st-link, vsllink, xds110.
|
||||
ftdi, hla, jlink, kitprog, presto, st-link, vsllink, xds110.
|
||||
@end deffn
|
||||
|
||||
@section Interface Drivers
|
||||
@@ -2641,12 +2641,6 @@ The vendor ID and product ID of the adapter. If not specified, default
|
||||
0x0403:0x6001 is used.
|
||||
@end deffn
|
||||
|
||||
@deffn {Config Command} {ft232r serial_desc} @var{serial}
|
||||
Specifies the @var{serial} of the adapter to use, in case the
|
||||
vendor provides unique IDs and more than one adapter is connected to
|
||||
the host. If not specified, serial numbers are not considered.
|
||||
@end deffn
|
||||
|
||||
@deffn {Config Command} {ft232r jtag_nums} @var{tck} @var{tms} @var{tdi} @var{tdo}
|
||||
Set four JTAG GPIO numbers at once.
|
||||
If not specified, default 0 3 1 2 or TXD CTS RXD RTS is used.
|
||||
|
||||
Reference in New Issue
Block a user