jtag: drivers: stlink: handle all versions with single config 61/3961/5
authorPaul Fertser <fercerpav@gmail.com>
Thu, 26 Jan 2017 20:41:40 +0000 (23:41 +0300)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 12 Dec 2017 21:13:55 +0000 (21:13 +0000)
commit31c58c139d85c35cc8ebce4196edb2c5eb157c7a
tree91e43c935709234d69da7e3986de90b3dc127346
parenteb26a884e0ff0fb6568aeda65fe21eec1e5b6557
jtag: drivers: stlink: handle all versions with single config

Extend HLA interface to allow multiple VID/PID pairs and use it to
autodetect the connected stlink version.

Change-Id: I35cd895b2260e23cf0e8fcb1fc11a78c2b99c69b
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/3961
Tested-by: jenkins
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
Reviewed-by: Andreas Bolsch <hyphen0break@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
31 files changed:
doc/openocd.texi
src/jtag/drivers/stlink_usb.c
src/jtag/drivers/ti_icdi_usb.c
src/jtag/hla/hla_interface.c
src/jtag/hla/hla_interface.h
tcl/board/st_nucleo_f0.cfg
tcl/board/st_nucleo_f103rb.cfg
tcl/board/st_nucleo_f3.cfg
tcl/board/st_nucleo_f4.cfg
tcl/board/st_nucleo_l1.cfg
tcl/board/st_nucleo_l476rg.cfg
tcl/board/stm320518_eval_stlink.cfg
tcl/board/stm3220g_eval_stlink.cfg
tcl/board/stm3241g_eval_stlink.cfg
tcl/board/stm32429i_eval_stlink.cfg
tcl/board/stm32439i_eval_stlink.cfg
tcl/board/stm32f0discovery.cfg
tcl/board/stm32f3discovery.cfg
tcl/board/stm32f429disc1.cfg
tcl/board/stm32f429discovery.cfg
tcl/board/stm32f469discovery.cfg
tcl/board/stm32f4discovery.cfg
tcl/board/stm32f7discovery.cfg
tcl/board/stm32l0discovery.cfg
tcl/board/stm32l4discovery.cfg
tcl/board/stm32ldiscovery.cfg
tcl/board/stm32vldiscovery.cfg
tcl/interface/stlink-v1.cfg
tcl/interface/stlink-v2-1.cfg
tcl/interface/stlink-v2.cfg
tcl/interface/stlink.cfg [new file with mode: 0644]