Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 2 KB

index.rst

File metadata and controls

54 lines (45 loc) · 2 KB

Welcome to labgrid's documentation!

labgrid is a embedded board control python library with a focus on testing, development and general automation. It includes a remote control layer to control boards connected to other hosts.

The idea behind labgrid is to create an abstraction of the hardware control layer needed for testing of embedded systems, automatic software installation and automation during development. labgrid itself is not a testing framework, but is intended to be combined with pytest (and additional pytest plugins). Please see :doc:`design_decisions` for more background information.

It currently supports:

  • pytest plugin to write tests for embedded systems connecting serial console or SSH
  • remote client-exporter-coordinator infrastructure to make boards available from different computers on a network
  • power/reset management via drivers for power switches or onewire PIOs
  • upload of binaries via USB: imxusbloader/mxsusbloader (bootloader) or fastboot (kernel)
  • functions to control external services such as emulated USB-Sticks and the hawkBit deployment service

While labgrid is currently used for daily development on embedded boards and for automated testing, several planned features are not yet implemented and the APIs may be changed as more use-cases appear. We appreciate code contributions and feedback on using labgrid on other environments (see :ref:`contributing` for details). Please consider contacting us (via a GitHub issue) before starting larger changes, so we can discuss design trade-offs early and avoid redundant work. You can also look at :ref:`ideas` for enhancements which are not yet implemented.

.. toctree::
   getting_started
   overview
   usage
   man
   configuration
   development
   design_decisions
   changes
   modules/modules
   :maxdepth: 2
   :caption: Contents


Indices and Tables