Skip to content

verylowfreq/rust_on_m5stack_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust on M5Stack

The Rust example for M5Stack that can draw LCD and treat BtnA, BtnB, and BtnC.

Based on Rust on ESP32 by Kerkour

RustでM5Stackのプログラムを書くサンプルプロジェクトです。ビルド環境はDockerで準備します。 VSCodeでの編集やビルドを想定。

Build with VSCode

  1. Install VSCode extensions: Remote Container, and rust-analyer.
  2. Install tools: cargo install espflash espmonitor
  3. Open the project folder with VSCode and "Reopen in container".
  4. Run cargo +esp build inside of the docker container.
  5. espflash COM3 target/xtensa-esp32-espidf/debug/rust_on_m5stack (If M5Stack is COM3, at host's terminal)
  6. espmonitor COM3

About

Example of a Rust project for M5Stack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published