Rust examples for M5Stack. To implement and flash firmware for M5Stack in Rust, please check following tools at first.
I use M5Stack GRAY to run firmware, maybe you need to modify something to run correctly if you want to run it on other devices.
This firmware is witten in Rust. You need to install espup
first. Please follow this document https://github.com/esp-rs/rust-build .
You can flash firmware by using espflash.
$ cargo build
$ espflash flash /target/xtensa-esp-espidf/debug/your-project-name