This is an automated email from Gerrit. Tomasz CEDRO ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1021
-- gerrit commit ec07a0c506e7c1a4c319927cf1fa79c90b13118f Author: Tomek CEDRO <[email protected]> Date: Tue Oct 30 17:04:18 2012 +0100 Added ft2232_interface_swd driver declaration with default transport set to swd_only. It is based on existing ft2232 and jtag_interface. It contains ft2232_transfer and ft2232_bitbang functions by default, thus it will work only with ft2232 devices for now. This will be the first interface type to work with LibSWD. Change-Id: I7593ced156cd3cb108b332a191adbd47245bb6d6 Signed-off-by: Tomek CEDRO <[email protected]> diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 14d37db..086c42c 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -4467,3 +4467,19 @@ struct jtag_interface ft2232_interface = { .execute_queue = ft2232_execute_queue, .bitbang = ft2232_bitbang, }; + +struct jtag_interface ft2232_interface_swd = { + .name = "ft2232_swd", + .supported = DEBUG_CAP_TMS_SEQ, + .commands = ft2232_command_handlers, + .transports = swd_only, + + .init = ft2232_init, + .quit = ft2232_quit, + .speed = ft2232_speed, + .speed_div = ft2232_speed_div, + .khz = ft2232_khz, + .transfer = ft2232_transfer, + .bitbang = ft2232_bitbang, +}; + -- ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
