This repo contains more experimentation with Embassy embedded crates. The high-level goal is to have a microcontroller that collects data and an application running on a PC that can interface with the microcontroller to control aspects of the collection process as well as grab, store, and display data.
┌───────────┐ ┌───────┬─────────┬─┐
│Temperature│ I2C ┌──────┐ USB │ │Real-Time│ │
│Pressure │◀────────▶│MCU │◀───┐ │Mac │ TUI │ │
│Humidity │ └──────┘ └────▶│ └─────────┘ │
└───────────┘ │ │
└───────────────────┘
After cloning this repo run just embassy
to make sure all the prerequisits are
in the right places.
cd
into the firmware directory and run
cargo build
To program a target and run the program
cargo run --release
To run a specific binary inside the src/bin/
directory
cargo run --bin usb_raw --release
- Embassy source code must be cloned locally (for now).