# 02_esp-gen-no-std This is an example of using ESP-IDF using no std. 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 ```bash cargo install esp-generate esp-generate --chip esp32 esp-gen-no-std ``` You will also need to install [probe-rs](https://probe.rs/docs/getting-started/installation/) ```bash curl --proto '=https' --tlsv1.2 -LsSf https://github.com/probe-rs/probe-rs/releases/latest/download/probe-rs-tools-installer.sh | sh ``` Steps to build and flash this project ```bash # 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 ``` If you encounter this error during the build, you need to export the esp-idf build environment with `. ~/export-esp.sh` ```bash error: linker `xtensa-esp32-elf-gcc` not found | = note: No such file or directory (os error 2) error: could not compile `03_esp-gen-no-std` (bin "esp-gen-test") due to 1 previous error ``` For more detailed information on setting up a development environment, see [the esp/rust README](/esp/rust/README.md)