0
0
Fork 0

setup rust project using esp-generate

This commit is contained in:
Jannik Beyerstedt 2026-04-25 15:07:54 +02:00
commit 8cfb908678
10 changed files with 1825 additions and 0 deletions

View file

@ -12,6 +12,15 @@ rustup toolchain install nightly --component rust-src
rustup target add riscv32imac-unknown-none-elf
# cargo install esp-generate --locked
# cargo install esp-config --features=tui --locked
cargo install espflash --locked
```
(Project was setup using esp-generate with the options `--chip esp32c5 -o esp32c5-wroom-1 -o alloc -o vscode -o log -o unstable-hal -o wifi -o esp-backtrace`.)
### Build and Flash
Connect your ESP32-C5 and run:
```
cargo run --release
```