Rust Setup
- Ensure you have Rust installed, ideally using rustup
- Install espup and install the necessary toolchains
Terminal window cargo install espupespup install
When developing, you will need to run export ~/export-esp.sh (or the equivalent for your OS) to apply the required environment variables. Without this you’ll get an error like linker `xtensa-esp32-elf-gcc` not found.
More info on setting up and developing Rust for ESP32 is available here.
- Flash the example project by changing directory to
scoreboardand running:Terminal window cargo run --release`