aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2021-10-07 19:42:54 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2021-11-28 10:55:49 +0000
commit248161cbf47af9f7fc8c00b5efa79a1ff8e65848 (patch)
treeedea7cc086b97fb56777c2dd8a416e8478e6b53c /doc
parenta3b69dee622066d3a2b70c32775818d82b5ffb54 (diff)
downloadriscv-openocd-248161cbf47af9f7fc8c00b5efa79a1ff8e65848.zip
riscv-openocd-248161cbf47af9f7fc8c00b5efa79a1ff8e65848.tar.gz
riscv-openocd-248161cbf47af9f7fc8c00b5efa79a1ff8e65848.tar.bz2
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
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi10
1 files changed, 3 insertions, 7 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 2869436..4ce6e04 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -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: