blackmagic/src/platforms/libftdi
Uwe Bonnes 1cf0b8ac13 Make all arguments for all commands (struct *t, int argc, const char **argv).
-Wall on gcc8 otherwise warns without -Wno-cast-function-type but older
GCCs/CLang choke on that argument:
error: unknown warning option '-Wno-cast-function-type'; did you mean
 '-Wno-bad-function-cast'? [-Werror,-Wunknown-warning-option]

This adds 24 byte to the binary, as some functions are now called with
additional dummy arguments:
"Pushing and popping garbage to keep the system happy"
2019-09-29 12:44:55 +02:00
..
Makefile.inc Make all arguments for all commands (struct *t, int argc, const char **argv). 2019-09-29 12:44:55 +02:00
README.md libftdi: Allow to compile with mingw and cygwin and use recent libftdi1. 2019-01-07 15:31:57 +01:00
jtagtap.c libftdi: Allow to compile with mingw and cygwin and use recent libftdi1. 2019-01-07 15:31:57 +01:00
platform.c libftdi: Allow to compile with mingw and cygwin and use recent libftdi1. 2019-01-07 15:31:57 +01:00
platform.h PC-STLINKV2/Libftdi: Better version string. 2019-08-27 15:13:26 +02:00
swdptap.c libftdi: Allow to compile with mingw and cygwin and use recent libftdi1. 2019-01-07 15:31:57 +01:00

README.md

Compiling on windows

You can crosscompile blackmagic for windows with mingw or on windows with cygwin. For compilation, headers for libftdi1 and libusb-1.0 are needed. For running, libftdi1.dll and libusb-1.0.dll are needed and the executable must be able to find them. Mingw on cygwin does not provide a libftdi package yet.

To prepare libusb access to the ftdi device, run zadig https://zadig.akeo.ie/. Choose WinUSB(libusb-1.0) for the BMP Ftdi device.

Running cygwin/blackmagic in a cygwin console, the program does not react on ^C. In another console, run "ps ax" to find the WINPID of the process and then "taskkill /F ?PID (WINPID)".