Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 813 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 813 Bytes

rpi-peri-regs

A Python driver for accessing peripheral memory (e.g. V3D) on Raspberry Pi.

The register definitions are derived from Brcm_Android_ICS_Graphics_Stack/brcm_usrlib/dag/vmcsx/vcinclude/bcm2708_chip/.

Requirements

Cython is needed (see requirements.txt). For testing, nose is needed.

Because it accesses the peripheral through /dev/mem, you need to be root to run this driver.

Installation

$ git clone https://github.com/Idein/rpi-peri-regs.git
$ cd rpi-peri-regs/
$ pip install -r requirements.txt
$ pip install .

Run pip uninstall -r requirements.txt rpi_peri_regs to uninstall them.

Running tests

$ pip install nose
$ python setup.py build_ext --inplace
$ sudo nosetests -v -s