openocd/src/jtag
Antonio Borneo 9252a94218 stlink: simplify maintenance of version and features
The number of stlink firmware version is growing, each carrying new
features. Today's code has several check distributed here and there
and it's already hard to track them and verify the correctness.
The introduction of STLINK-V3 will make the situation much worst,
and the code much less readable.

Add a "flags" bitmask in the struct stlink_usb_version to allow
setting individual bits for each feature available or for specific
quirks and workarounds.
This patch does not implement setting nor testing "flags"; it would
be introduced in following patches, one bit at a time.

Change-Id: I09d78202646a6c8330731f8aa96dc9d295fa5655
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4706
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2018-12-06 10:03:14 +00:00
..
aice nds32: Avoid detected JTAG clock 2018-07-18 21:06:51 +01:00
drivers stlink: simplify maintenance of version and features 2018-12-06 10:03:14 +00:00
hla target/armv7m_trace: Fix typo in enum 2018-07-19 10:48:58 +01:00
minidriver Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
minidummy Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
zy1000 zy1000: fix compile error with gcc 8.1.1 2018-08-01 14:32:03 +01:00
adapter.c jtag: adapter: fix indentation in handle_interface_command 2018-04-17 08:29:49 +01:00
commands.c jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
commands.h jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
core.c target/armv7m_trace: Fix typo in enum 2018-07-19 10:48:58 +01:00
driver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
interface.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
interface.h target/armv7m_trace: Fix typo in enum 2018-07-19 10:48:58 +01:00
interfaces.c jtag/drivers: Add support for TI XDS110 debug probe 2018-05-31 13:25:16 +01:00
interfaces.h Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
jtag.h target: restructure dap support 2018-03-30 09:58:21 +01:00
Makefile.am jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
minidriver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl jtag/startup.tcl: fix regression with autoselecting JTAG 2015-04-14 12:35:39 +01:00
swd.h transport: add transport_is_hla() 2018-03-20 11:48:44 +00:00
tcl.c transport: add transport_is_hla() 2018-03-20 11:48:44 +00:00
tcl.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00