smartwatch experiments in rust
- Rust 90.7%
- Slint 7.8%
- Just 1.5%
| assets | ||
| bin | ||
| datasheets | ||
| img | ||
| lib | ||
| ui | ||
| vendor | ||
| .gitignore | ||
| .gitmodules | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Justfile | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain.toml | ||
SmartWatch Experiments in Rust
Target Hardware
- Lilygo T-Watch 2020 V3
- Waveshare ESP32C6 AMOLED 2.06"
Install Dependencies
cargo install espup
espup install
source ~/export-esp.sh
Install riscv64-linux-gnu-gcc from your distro's package manager.
Run on Hardware
Just use the Justfile
Install just with cargo install just
Twatch
Build and run:
just twatch
Build without running:
just build-twatch
Waveshare
Build and run release:
just waveshare
Build and run debug via probe-rs:
just probe-waveshare
Run in Simulator
Run and build local simulator: just simulate
Project Structure
lib/bsp/smartwatch-bsp-traitsdefines shared traits for smartwatch behaviourslib/bsp/lilygo-twatch-2020v3implements the traits for the Lilygo T-Watch 2020 V3.lib/bsp/waveshare-esp32c6-amoled-206implements the traits for the Waveshare ESP32C6 AMOLED 2.06"- BSP stands for Board Support Package and is intended to abstract away the board-specific-code.
vendoris for forked librariesassetsis for images and fonts and stuff like thatdatasheetsis where we put docs about the specific boards and their components for reference

