To simplify compilation on Windows, where it might be complex to users
to download, compile, install libusb and libftdi, making them available
to the Go build system, commit a binary version of those libraries
and change the cgo build directive to use it automatically.
The binaries were download from https://sourceforge.net/projects/picusb/
and are compiled by one of the libusb maintainers (Xiaofan Chen).
I stripped them down to just static libraries and include files, and they are
just 1Mb in size.
To simplify compilation on Windows, where it might be complex to users to download, compile, install libusb and libftdi, making them available to the Go build system, commit a binary version of those libraries and change the cgo build directive to use it automatically.
The binaries were download from https://sourceforge.net/projects/picusb/ and are compiled by one of the libusb maintainers (Xiaofan Chen). I stripped them down to just static libraries and include files, and they are just 1Mb in size.