Skip to content

Development environment

This page describes the development environment.

Prerequisites:

  • An editor of choice
  • A Python environment

Documentation

To build the documentation, MkDocs is needed. Install this with python3 -m pip install -r requirements.txt. The documentation can the be viewed with mkdocs serve.

Software

The applications are developed using Rust. For the backend only a regular Rust environment is needed. For firmware some additional tools are required.

  1. Install the Rust toolchain.
  2. Install the ARM target: rustup target add thumbv6m-none-eabi
  3. Install probe-rs to be able to load firmware to target.
  4. Add environment variables:
    • AQLA_SSID=<Wifi SSID>
    • AQLA_PASSWORD=<Wifi Password>

The software can then be build using cargo. The firmware can be loaded to a target with cargo run, if it is connected via USB.