On Wed, May 27, 2015 at 10:53:01PM +0000, Eric Wilson wrote:
> I tried using target/cc32xx.cfg, board/ti-cc3200-launchxl.cfg and they both
> failed. I tried the CC3200.cfg (using ft2232) provided by TI in the CC3200SDK
> package and it connected fine. Is the issue maybe just the configs I'm using?
Have you read README.Windows yet? If the proprietary library works it
means you do not have the right kernel driver installed.
---
** [tickets:#98] Building in Cygwin with --enable-legacy-ft2232 fails**
**Status:** new
**Milestone:** 0.9.0
**Created:** Wed May 27, 2015 09:13 PM UTC by Eric Wilson
**Last Updated:** Wed May 27, 2015 09:20 PM UTC
**Owner:** nobody
Specifically I was following the instructions in the [TI CC3200 Launchpad quick
start guide](http://www.ti.com/lit/ug/swru376b/swru376b.pdf) and the build
failed. I managed to fix the build by the following:
1) re-name the ftd2xx64.dll to ftd2xx.dll in the ftd2xx/amd64 folder
2) re-name the ftd2xx.lib file so that the ./configure does not find it
3) change the references to the .lib to .dll in the ./configure (see the code
snippet)
4) copy the ftd2xx.h file into /usr/include
~~~~~~
# And calculate the LDFLAGS for the machine
case "$host_cpu" in
i?86|x86_32)
LDFLAGS="$LDFLAGS -L$with_ftd2xx_win32_zipdir/i386"
LIBS="$LIBS -lftd2xx"
# THIS WAS AN EDIT FROM ftd2xx.lib
f=$with_ftd2xx_win32_zipdir/i386/ftd2xx.dll
;;
amd64|x86_64)
LDFLAGS="$LDFLAGS -L$with_ftd2xx_win32_zipdir/amd64"
LIBS="$LIBS -lftd2xx"
# THIS WAS AN EDIT FROM ftd2xx.lib
f=$with_ftd2xx_win32_zipdir/amd64/ftd2xx.dll
;;
*)
as_fn_error $? "Unknown Win32 host cpu: $host_cpu" "$LINENO" 5
;;
esac
~~~~~~
---
Sent from sourceforge.net because [email protected] is
subscribed to http://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at
http://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel