1.5 KiB
1.5 KiB
Cypress Semiconductor Corporation CyUSB Serial Library
Pre-requisites
-
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.
Building the library and the test utility
-
Make a build directory and
cdto it. Example:mkdir build && cd build -
Run
cmakeon the source directory and then make. Example:cmake ../ && make -
Run
sudo make installto install the header file, libraries, and test utility intoPREFIX(/usr/local/by default). -
If you're on Linux, you might need to run
ldconfignow. -
You can now launch the application and communication with the Cypress USB-Serial DVK in vendor mode.
Note
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.