I don't need to re-distribute, I just need to be able to connect to the
launchpad and load code. I'm aware the driver is legacy but unfortunately the
only way I've been able to connect to the board is to fix the build for this
particular configuration.
The CC3200 configs that come with openocd don't seem to be working for me
either. The one that I managed to get connected was one that came with the
CC3200SDK (as per the CC3200 quick start guide).
I primarily submitted the report so that the fix/workaround for my "uncommon"
configuration would be documented in some way, rather than it actually needing
to be fixed. If I end up with some free time I'll prepare a patch.
---
** [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 https://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://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