setup rust project using esp-generate
This commit is contained in:
parent
df8a4b2572
commit
8cfb908678
10 changed files with 1825 additions and 0 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue