Small USB sample code which runs with Microchip PIC example (vendor_example)
Confirmed working with Microchip MLA v2016_11_07/apps/usb/device/vendor_basic/firmware.
compat.c is obtained from https://github.com/lorf/csr-spi-ftdi/blob/master/compat.c . Thank you.
-
libusb 1.0 is required. (http://libusb.info/)
-
For Windows, MinGW is also required.
-
For Mac OS X, libusb1 is required (fink install libusb1 for example).