Non-hacking-related, useful tools for Cardputer ADV written in no_std Rust.
|
|
||
|---|---|---|
| .cargo | ||
| .vscode | ||
| .zed | ||
| src | ||
| .clippy.toml | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain.toml | ||
Svhesta
A simple template with basic drivers to simplify the development of
no_std Rust-based firmware for the M5Stack Cardputer ADV.
Warning
Since I don't have a Cardputer (original or 1.1), the keyboard driver in this firmware only works on the Cardputer ADV.
Features
I'm using esp-hal instead of esp-idf-hal, meaning that this project
uses no_std Rust and I can't use any of the C-based IDF Components.
There are 2 Cardputer crates that already configure drivers for some
peripherals but they're both for esp-idf-hal and std, so I used
them as reference and made my own esp-hal implementation. You
can check them out in the cardputer module of this project.
These are the implemented drivers:
- G0
- Display
- Cardputer ADV Keyboard
- Cardputer (not ADV) Keyboard: Can't test
- SD Card
- IR Emitter
- Audio In/Out
- Expansions like LoRa Cap
- IMU (Gyro)
If you're curious about the name I just made it the fuck up