02_esp-idf-no-std
This is an example of using ESP-IDF using no std using templates provided by https://github.com/esp-rs/esp-idf-template. When flashed to a device, the application just adjusts the intensity of the on-board LED for visual verification that flashing works correctly.
Steps used to generate this project
cargo install cargo-generate
cargo generate --git https://github.com/esp-rs/esp-idf-template.git --name esp-idf-rust-no-std -d mcu=esp32 -d std=false
Steps to build and flash this project
# Install espflash if you don't have it already
cargo install espflash
# Export esp-idf build environment
. ~/export-esp.sh
# Build and flash to the device
cargo build
cargo run
For more detailed information on setting up a development environment, see the esp/rust README