openocd/src
Szymon Modzelewski 592be6504c stlink-v1: code cleanup
This patch moves the bulk of the stlink read/write code into the
stlink_usb_xfer set of functions and implements stlink_usb_recv
in terms of the generic stlink_usb_xfer

stlink_usb_xfer will be needed to implement stlink_usb_send
without code duplication

stlink_usb_xfer:
-sends the stlink command
-performs a read or write (as requested)
-checks the status (v1 only)

Change-Id: I0137d52620bd4883d46c9977a9e73f67622000a1
Signed-off-by: Szymon Modzelewski <szmodzelewski@gmail.com>
Reviewed-on: http://openocd.zylin.com/477
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2012-02-29 13:42:03 +00:00
..
flash Fix assert to check flash programming offset 2012-02-29 11:21:07 +00:00
helper doxygen: use correct comment syntax 2012-02-06 12:55:03 +00:00
jtag stlink-v1: code cleanup 2012-02-29 13:42:03 +00:00
pld build: cleanup src/pld directory 2012-02-06 10:42:40 +00:00
rtos build: cleanup src/rtos directory 2012-02-06 10:50:26 +00:00
server build: cleanup src/server directory 2012-02-06 10:47:01 +00:00
svf build: cleanup src/svf directory 2012-02-06 10:43:34 +00:00
target target: add target async algorithm support 2012-02-26 00:44:25 +00:00
transport build: cleanup src/transport directory 2012-02-06 10:46:16 +00:00
xsvf build: cleanup src/xsvf directory 2012-02-06 10:45:43 +00:00
ecosboard.c jim tests: use installed 2010-10-29 15:10:51 +02:00
hello.c build: cleanup src/ directory 2012-02-06 10:41:23 +00:00
hello.h build: cleanup src/ directory 2012-02-06 10:41:23 +00:00
main.c build: cleanup src/ directory 2012-02-06 10:41:23 +00:00
Makefile.am libusb-1.0 support 2011-11-18 17:00:58 +00:00
openocd.c build: cleanup src/ directory 2012-02-06 10:41:23 +00:00
openocd.h build: cleanup src/ directory 2012-02-06 10:41:23 +00:00