-
libusb 1.0.9 (or higher) is required for compilation and functioning of the APIs in the library.
-
GNU Make, the GCC toolchain, and CMake are used for the build process.
-
Make a build directory and
cd
to it. Example:mkdir build && cd build
-
Run
cmake
on the source directory and then make. Example:cmake ../ && make
-
Run
sudo make install
to install the header file, libraries, and test utility intoPREFIX
(/usr/local/
by default). -
If you're on Linux, you might need to run
ldconfig
now. -
You can now launch the application and communication with the Cypress USB-Serial DVK in vendor mode.
Refer to the CyUSBSerial API documentation for descriptions of all the
vendor mode APIs. The header file of the library is in
./include/CyUSBSerial.h
.