jtag/cmsis_dap: switch to command 'adapter serial'
The driver cmsis_dap defines the command 'cmsis_dap_serial' to specify the serial string of the adapter. Remove and deprecate the driver command, and use 'adapter serial'. Change-Id: I88e2d4de360a6c6f23529bb18494962a267250df Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6649 Tested-by: jenkins
This commit is contained in:
@@ -2370,9 +2370,10 @@ This command is only available if your libusb1 is at least version 1.0.16.
|
||||
@deffn {Config Command} {adapter serial} serial_string
|
||||
Specifies the @var{serial_string} of the adapter to use.
|
||||
If this command is not specified, serial strings are not checked.
|
||||
No adapter uses this command, so far.
|
||||
Only the following adapter drivers use the serial string from this command:
|
||||
cmsis_dap.
|
||||
The following adapters have their own command to specify the serial string:
|
||||
cmsis_dap, ft232r, ftdi, hla, jlink, kitprog, presto, st-link, vsllink, xds110.
|
||||
ft232r, ftdi, hla, jlink, kitprog, presto, st-link, vsllink, xds110.
|
||||
@end deffn
|
||||
|
||||
@section Interface Drivers
|
||||
@@ -2427,11 +2428,6 @@ cmsis_dap_vid_pid 0xc251 0xf001 0x0d28 0x0204
|
||||
@end example
|
||||
@end deffn
|
||||
|
||||
@deffn {Config Command} {cmsis_dap_serial} [serial]
|
||||
Specifies the @var{serial} of the CMSIS-DAP device to use.
|
||||
If not specified, serial numbers are not considered.
|
||||
@end deffn
|
||||
|
||||
@deffn {Config Command} {cmsis_dap_backend} [@option{auto}|@option{usb_bulk}|@option{hid}]
|
||||
Specifies how to communicate with the adapter:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user