jtag/adapter: add command 'adapter serial'
commit0343ae7cc734d8dfae17ff1ae9dbe834962f6da3
authorAntonio Borneo <borneo.antonio@gmail.com>
Thu, 7 Oct 2021 17:27:31 +0000 (7 19:27 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 28 Nov 2021 10:49:51 +0000 (28 10:49 +0000)
tree8fa2239cc4905677259adc92b0fff98cc25a6a06
parentf66a16c4a06fde23ae25f39c92990aa049c3c970
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
doc/openocd.texi
src/jtag/adapter.c
src/jtag/adapter.h