mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-30 17:50:46 +00:00
Pierre-Clement Tosi
63d2fb53fc
Instrument/BaylibreAcme: Add IIO-based ACME instr.
Add BaylibreAcmeInstrument, a new instrument providing support for the Baylibre ACME board as a wrapper for the IIO interface. This class provides better access to the ACME hardware (e.g. the ability to control the sampling frequency) and to the retrieved samples than what the other instrument, AcmeCapeInstrument, provides. Furthermore, it removes an unnecessary and limiting dependency by interfacing directly with the IIO drivers instead of relying on an intermediate script ("iio-capture") potentially introducing unexpected bugs. Finally, it allows handling multiple probes (the ACME can have up to 8) through an easy-to-use single instance of this class instead of having to have an instance of AcmeCapeInstrument per channel potentially (untested) leading to race conditions between the underlying scripts for accessing the hardware. This commit does not overwrite AcmeCapeInstrument as BaylibreAcmeInstrument does not provide interface compatibility with that class. Anyhow, we believe that anything that can be achieved with AcmeCapeInstrument can be done with BaylibreAcmeInstrument (the reciprocal is not true) so that BaylibreAcmeInstrument might eventually replace AcmeCapeInstrument. Add BaylibreAcmeInstrument documentation detailing the class interface and the ACME instrument itself and discussing the way it works and its potential limitations.
devlib ====== ``devlib`` exposes an interface for interacting with and collecting measurements from a variety of devices (such as mobile phones, tablets and development boards) running a Linux-based operating system. Installation ------------ :: sudo -H pip install devlib Usage ----- Please refer to the "Overview" section of the `documentation <http://devlib.readthedocs.io/en/latest/>`_. License ------- This package is distributed under `Apache v2.0 License <http://www.apache.org/licenses/LICENSE-2.0>`_. Feedback, Contrubutions and Support ----------------------------------- - Please use the GitHub Issue Tracker associated with this repository for feedback. - ARM licensees may contact ARM directly via their partner managers. - We welcome code contributions via GitHub Pull requests. Please try to stick to the style in the rest of the code for your contributions.
Description
Languages
Python
96%
Shell
1.8%
C
1.4%
Java
0.5%
Dockerfile
0.3%