openocd/src
Antonio Borneo be2d25efcc arm_adi_v5: add API send_sequence() and use it
The method to send an arbitrary sequence to DAP depends on the
transport and is thus different on JTAG and SWD. This is already
coded in dap_to_jtag() and dap_to_swd().

Add a new API send_sequence() in struct dap_ops.
Add the implementations of send_sequence() in adi_v5_jtag.c and
adi_v5_swd.c
Rewrite dap_to_jtag() and dap_to_swd() using the new API.
Move the enum swd_special_seq in arm_adi_v5.h to solve a circular
dependencies among swd.h and arm_adi_v5.h

Change-Id: I9db13a00f129761eab283783c094cfff2dd92610
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4902
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2020-01-02 21:24:54 +00:00
..
flash flash/nor/stm32f1x: fix options reading from locked chip 2020-01-02 21:22:07 +00:00
helper jtag_vpi: multiple improvements 2020-01-02 21:22:33 +00:00
jtag arm_adi_v5: add API send_sequence() and use it 2020-01-02 21:24:54 +00:00
pld helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
rtos rtos/FreeRTOS: Fix FreeRTOS thread list reading 2020-01-02 21:20:29 +00:00
server gdb_server: fix extended_protocol for multi-target 2019-12-19 20:41:18 +00:00
svf helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
target arm_adi_v5: add API send_sequence() and use it 2020-01-02 21:24:54 +00:00
transport helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
xsvf helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
hello.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +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 mflash: Remove this broken flash driver 2019-07-28 21:17:47 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00