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.
- Install the Rust toolchain.
- Install the ARM target:
rustup target add thumbv6m-none-eabi - Install
probe-rsto be able to load firmware to target. - 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.