| 1 |
Welcome to labgrid's documentation! |
| 2 |
=================================== |
| 3 |
|
| 4 |
labgrid is an embedded board control python library with a focus on testing, development |
| 5 |
and general automation. |
| 6 |
It includes a remote control layer to control boards connected to other hosts. |
| 7 |
|
| 8 |
The idea behind labgrid is to create an abstraction of the hardware control |
| 9 |
layer needed for testing of embedded systems, automatic software installation |
| 10 |
and automation during development. |
| 11 |
labgrid itself is *not* a testing framework, but is intended to be combined with |
| 12 |
`pytest <https://docs.pytest.org>`_ (and additional pytest plugins). |
| 13 |
Please see :doc:`design_decisions` for more background information. |
| 14 |
|
| 15 |
It currently supports: |
| 16 |
|
| 17 |
- remote client-exporter-coordinator infrastructure to make boards available |
| 18 |
from different computers on a network |
| 19 |
- pytest plugin to write automated tests for embedded systems |
| 20 |
- CLI and library usage for development and automation |
| 21 |
- interaction with bootloader and Linux shells on top of serial console or SSH |
| 22 |
- power/reset management via drivers for power switches |
| 23 |
- upload of binaries and device bootstrapping via USB |
| 24 |
- control of digital outputs, SD card and USB multiplexers |
| 25 |
- integration of audio/video/measurement devices for remote development and |
| 26 |
testing |
| 27 |
- Docker/QEMU integration |
| 28 |
- functions to control external services such as emulated USB-Sticks and the |
| 29 |
`hawkBit <https://github.com/eclipse/hawkbit>`_ deployment service |
| 30 |
|
| 31 |
While labgrid is currently used for daily development on embedded boards and for |
| 32 |
automated testing, several planned features are not yet implemented and the APIs |
| 33 |
may be changed as more use-cases appear. |
| 34 |
We appreciate code contributions and feedback on using labgrid on other |
| 35 |
environments (see :ref:`contributing` for details). |
| 36 |
Please consider contacting us (via a GitHub issue) before starting larger |
| 37 |
changes, so we can discuss design trade-offs early and avoid redundant work. |
| 38 |
You can also look at :ref:`ideas` for enhancements which are not yet implemented. |
| 39 |
|
| 40 |
.. toctree:: |
| 41 |
getting_started |
| 42 |
overview |
| 43 |
usage |
| 44 |
man |
| 45 |
configuration |
| 46 |
development |
| 47 |
design_decisions |
| 48 |
changes |
| 49 |
modules/modules |
| 50 |
:maxdepth: 2 |
| 51 |
:caption: Contents |
| 52 |
|
| 53 |
|
| 54 |
Indices and Tables |
| 55 |
------------------ |
| 56 |
|
| 57 |
* :ref:`genindex` |
| 58 |
* :ref:`modindex` |
| 59 |
* :ref:`search` |
| 60 |
|
| 61 |
.. meta:: |
| 62 |
:google-site-verification: wLmZ0Ehh9wAjp6f23ckkSFyQtNEIW2wUfpv-r5kYv2M |