openocd/src
Antonio Borneo 1822c2fb94 stlink: check for SWD support
The old ST-Link/V1 can either run an obsolete firmware with API_V1 or
a more recent firmware (from V1J11 to last V1J13) with API_V2.
SWD is only provided by the latter API.

Return error is SWD is selected on adapters that does not support it.

Change-Id: Iac4ba54d191ba80fb445a7cd3d8c2621dc7a4846
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4705
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2018-12-06 10:03:05 +00:00
..
flash flash/stmsmi: fix byte order for big-endian host 2018-12-06 09:40:19 +00:00
helper Add RISC-V support. 2018-07-24 13:07:26 +01:00
jtag stlink: check for SWD support 2018-12-06 10:03:05 +00:00
pld Convert to non-recursive make 2016-12-08 16:23:10 +00:00
rtos rtos: check symbol list when updating uCOS-III 2018-10-16 11:59:11 +01:00
server Permit null target on TCL connection 2018-11-13 07:02:58 +00:00
svf svf: improve robustness when processing invalid SVF files 2018-03-13 08:41:21 +00:00
target target/image: Add support for S6 record in Motorola SREC files 2018-11-18 08:21:25 +00:00
transport configure: disable all drivers when zy1000 is enabled 2018-04-09 09:04:46 +01:00
xsvf Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
openocd.c armv8: valgrind memleak fixes 2018-04-10 09:13:02 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00