]> git.sur5r.net Git - openocd/commit
jlink: Update for libjaylink API changes
authorMarc Schink <openocd-dev@marcschink.de>
Fri, 18 Dec 2015 08:09:08 +0000 (09:09 +0100)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 13 Feb 2016 23:29:31 +0000 (23:29 +0000)
commit11a37ee80880d996cd0cb53a8f2ea86f31e1e11f
treefe61232b8c71ad2f30f8e97dd5bdd189a45bb7b9
parent8cf5e04c73bf2d20d8efa7131666ed3a370402aa
jlink: Update for libjaylink API changes

This patch also addresses a problem with devices where no serial
number is available. For further details, see:

http://repo.or.cz/libjaylink.git/commit/7e0508d8487f65f71411117dff2e0b093e00bc80

Such devices are now ignored if device selection via serial number is
used.
Nevertheless, these devices are still usable by using the USB address
for device selection or just by omitting device selection. The latter
one is only possible if only one device is connected.

Change-Id: I5763db25e97ba3d924cb642da7e64e951e09ecb7
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/3225
Tested-by: jenkins
Reviewed-by: Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/jlink.c
src/jtag/drivers/libjaylink