aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2021-10-07 19:27:31 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2021-11-28 10:49:51 +0000
commit0343ae7cc734d8dfae17ff1ae9dbe834962f6da3 (patch)
tree8fa2239cc4905677259adc92b0fff98cc25a6a06 /doc
parentf66a16c4a06fde23ae25f39c92990aa049c3c970 (diff)
downloadriscv-openocd-0343ae7cc734d8dfae17ff1ae9dbe834962f6da3.zip
riscv-openocd-0343ae7cc734d8dfae17ff1ae9dbe834962f6da3.tar.gz
riscv-openocd-0343ae7cc734d8dfae17ff1ae9dbe834962f6da3.tar.bz2
jtag/adapter: add command 'adapter serial'
Several adapter define their own command to specify the USB serial number or serial string to be used during USB search. Define a general command 'adapter serial' to be proposed as replacement of the driver specific ones. No driver is changed so far to use it. Change-Id: I7631687a4163ccc63a9bdf3ad1fcb300fc483d3a Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6647 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Tested-by: jenkins
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 0ab4b36..2869436 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -2367,6 +2367,14 @@ The USB bus topology can be queried with the command @emph{lsusb -t} or @emph{dm
This command is only available if your libusb1 is at least version 1.0.16.
@end deffn
+@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.
+The following adapters have their own command to specify the serial string:
+cmsis_dap, ft232r, ftdi, hla, jlink, kitprog, presto, st-link, vsllink, xds110.
+@end deffn
+
@section Interface Drivers
Each of the interface drivers listed here must be explicitly