Bare-metal software for the sounding rocket payload.
-
libusb:
-
cargo install cargo-embed
cargo-xtask is a way of extending cargo
with user-defined workflows.
Run the following commands for a quick rundown:
cargo xtask --help
cargo xtask embed --help
All workflows are implemented in the xtask/
directory.
cargo xtask build
# Runs the default binary crate (cansat-stm32f4)
# The default can be overriden with XTASK_EMBED_DEFAULT env variable in .cargo/config.toml
cargo xtask embed
# You can also specify the crate to run manually
cargo xtask embed -p cansat-stm32f4
You can specify log levels using DEFMT_LOG
environment variable.
Bash
DEFMT_LOG=debug cargo xtask embed
Powershell
$env:DEFMT_LOG="debug"; cargo xtask embed
See https://defmt.ferrous-systems.com/filtering.html for details.