Skip to content

A Python driver for accessing peripheral memory on Raspberry Pi

Notifications You must be signed in to change notification settings

Idein/rpi-peri-regs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Python driver for accessing peripheral memory on Raspberry Pi

Resources

Stars

Watchers

Forks

Packages

No packages published