Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.
/ cp2130 Public archive

C Layer for the Silabs cp2130 using LibUSB

License

Notifications You must be signed in to change notification settings

perigoso/cp2130

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CP2130 C Layer

This is an open source C library for use with the CP2130 USB-SPI Bridge by Silabs Writen by Rafael Silva

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

There is an Example file to get you started.

Prerequisites

  • You will need root access to a Linux machine.
  • You will need to install libusb
sudo apt-get install libudev-dev libusb-1.0-0-dev

Compiling

A step by step series of examples that tell you how to get a development environment running

  • Clone this repository to your working directory
sudo git clone https://github.com/gimbas/cp2130
  • Go to the source directory
cd cp2130/
  • Compile
make

See the Makefile for more information on compile flags etc.

Running

  • You may need to add the provided udev rules to the /etc/udev/rules.d directory.
sudo cp cp2130.rules /etc/udev/rules.d
  • Depending on your user permissions, you might need to run the compilled binary with root access (sudo)

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details

Acknowledgments

About

C Layer for the Silabs cp2130 using LibUSB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published