Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
1 year ago | |
|---|---|---|
| .. | ||
| web | 1 year ago | |
| README.md | 1 year ago | |
[!NOTE]
Reference: https://docs.esp-rs.org/book/installation/riscv.html
# For no_std(bare-metal)
rustup toolchain install stable --component rust-src
rustup target add riscv32imc-unknown-none-elf # For ESP32-C2 and ESP32-C3
rustup target add riscv32imac-unknown-none-elf # For ESP32-C6 and ESP32-H2
# For std
rustup toolchain install nightly --component rust-src
cargo install ldproxy
cargo install cargo-generate
cargo install espflash
# cargo generate esp-rs/esp-template
cargo generate esp-rs/esp-idf-template cargo
Run the web example to print Hello, World:
# Load ESP-IDF environment
getidf
cargo build
cargo run
Toys
C++ JavaScript Unity3D Asset C Python other
Apache-2.0