diff options
author | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-27 02:56:55 +0000 |
---|---|---|
committer | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-27 02:56:55 +0000 |
commit | 21eff7095c50bcdc74000e6cda0c76aa3d16b854 (patch) | |
tree | b23c507404fde60339a06203cab910b183248e60 /src | |
parent | 9b2e467545c9eb6e52036cd8ef546b6f799be33c (diff) | |
download | openocd_libswd-21eff7095c50bcdc74000e6cda0c76aa3d16b854.tar.gz openocd_libswd-21eff7095c50bcdc74000e6cda0c76aa3d16b854.tar.bz2 openocd_libswd-21eff7095c50bcdc74000e6cda0c76aa3d16b854.tar.xz openocd_libswd-21eff7095c50bcdc74000e6cda0c76aa3d16b854.zip |
Added dongle VSLLINK - from Simon Qian
git-svn-id: svn://svn.berlios.de/openocd/trunk@1280 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/jtag/Makefile.am | 8 | ||||
-rw-r--r-- | src/jtag/jtag.c | 7 |
3 files changed, 18 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index b2542917..0e0f50e4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -50,10 +50,14 @@ else if RLINK LIBUSB = -lusb else +if VSLLINK +LIBUSB = -lusb +else LIBUSB = endif endif endif +endif diff --git a/src/jtag/Makefile.am b/src/jtag/Makefile.am index 0c581296..8bb0ea21 100644 --- a/src/jtag/Makefile.am +++ b/src/jtag/Makefile.am @@ -96,7 +96,13 @@ else RLINKFILES = endif +if VSLLINK +VSLLINKFILES = vsllink.c +else +VSLLINKFILES = +endif + libjtag_a_SOURCES = jtag.c $(BITBANGFILES) $(PARPORTFILES) $(DUMMYFILES) $(FT2232FILES) $(AMTJTAGACCELFILES) $(EP93XXFILES) \ - $(AT91RM9200FILES) $(GW16012FILES) $(BITQFILES) $(PRESTOFILES) $(USBPROGFILES) $(ECOSBOARDFILES) $(JLINKFILES) $(RLINKFILES) + $(AT91RM9200FILES) $(GW16012FILES) $(BITQFILES) $(PRESTOFILES) $(USBPROGFILES) $(ECOSBOARDFILES) $(JLINKFILES) $(RLINKFILES) $(VSLLINKFILES) noinst_HEADERS = bitbang.h jtag.h diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 16dbbd22..48921ebc 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -196,6 +196,10 @@ static int hasKHz = 0; extern jtag_interface_t jlink_interface; #endif +#if BUILD_VSLLINK == 1 + extern jtag_interface_t vsllink_interface; +#endif + #if BUILD_RLINK == 1 extern jtag_interface_t rlink_interface; #endif @@ -237,6 +241,9 @@ jtag_interface_t *jtag_interfaces[] = { #if BUILD_JLINK == 1 &jlink_interface, #endif +#if BUILD_VSLLINK == 1 + &vsllink_interface, +#endif #if BUILD_RLINK == 1 &rlink_interface, #endif |