Skip to content

Rust Setup

  1. Ensure you have Rust installed, ideally using rustup
  2. Install espup and install the necessary toolchains
    Terminal window
    cargo install espup
    espup 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 scoreboard and running:
    Terminal window
    cargo run --release`