frasersdev / librpip

A Library for using Raspberry Pi Peripherals in user space.
http://librpip.frasersdev.net/
GNU General Public License v2.0
3 stars 3 forks source link

librpip - A Library for Using Raspberry Pi Peripherals in User Space.

The library provides a way for non-privileged accounts (ie non-root) to access the peripherals such as i2c, spi, uarts and the gpio on a Raspberry PI. It has been tested on Arch Linux Arm (v7) 4.1, Raspbian Jessie 4.1 - 4.4 and Raspbian Wheezy 3.18.

Documentation

Library documentation is at http://librpip.frasersdev.net/documentation/ By default librpip will have very little if any access to peripherals. You will need to configure the os and the peripherals on your Raspberry Pi. See:

Librpip will detect and use whatever hardware has been made available via kernel modules

Download

Download the current release from http://librpip.frasersdev.net/get/download/

Installation

The Library installs into /usr/local/*. Edit the Makefile to install into other locations.

Extract the tarball: $ tar xvzf librpip-x.y.z.tar.gz $ cd librpip-x.y.z

Then build and install: $ ./configure $ make $ sudo make install

Optionally make the examples: $ make examples