๐Ÿ“ฆ cyrozap / libcyusbserial

This library enables userspace programs to control Cypress USB-Serial bridge chips. This repository is not an official repo from Cypress / Infineon.

โ˜… 19 stars โ‘‚ 9 forks ๐Ÿ‘ 19 watching
๐Ÿ“ฅ Clone https://github.com/cyrozap/libcyusbserial.git
HTTPS git clone https://github.com/cyrozap/libcyusbserial.git
SSH git clone git@github.com:cyrozap/libcyusbserial.git
CLI gh repo clone cyrozap/libcyusbserial
cyrozap cyrozap Merge pull request #8 from alperak/master 083a0fb 6 months ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ cmake
๐Ÿ“ include
๐Ÿ“ lib
๐Ÿ“ tools
๐Ÿ“ windows
๐Ÿ“„ .gitignore
๐Ÿ“„ .travis.yml
๐Ÿ“„ appveyor.yml
๐Ÿ“„ CMakeLists.txt
๐Ÿ“„ COPYING.LESSER.txt
๐Ÿ“„ Doxyfile
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Cypress Semiconductor Corporation CyUSB Serial Library

LGPLv2.1+ License Travis-CI Build Status AppVeyor Build Status Coverity Scan

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 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 into PREFIX (/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.

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.