doc: add documentation for "adapter usb location" command

Change-Id: Ia3fbe0c3894b1b96464bbfda5d4101123827b761
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-on: http://openocd.zylin.com/4769
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
log_output
Oleksij Rempel 2018-11-16 08:56:25 +01:00 committed by Matthias Welwarsky
parent 9f021c2bc1
commit 20ceec69a2
1 changed files with 10 additions and 0 deletions

View File

@ -2368,6 +2368,16 @@ the hardware can support.
Returns the name of the debug adapter driver being used.
@end deffn
@deffn Command {adapter usb location} <bus>:<port>[.<port>]...
Specifies the physical USB port of the adapter to use. The path
roots at @var{bus} and walks down the physical ports, with each
@var{port} option specifying a deeper level in the bus topology, the last
@var{port} denoting where the target adapter is actually plugged.
The USB bus topology can be queried with the command @emph{lsusb -t} or @emph{dmesg}.
This command is only available if your libusb1 is at least version 1.0.16.
@end deffn
@section Interface Drivers
Each of the interface drivers listed here must be explicitly