18 lines
489 B
Plaintext
18 lines
489 B
Plaintext
cargo install cargo-generate
|
|
cargo install ldproxy
|
|
cargo install espup
|
|
cargo install espflash
|
|
cargo install cargo-espflash
|
|
|
|
cargo generate esp-rs/esp-idf-template cargo
|
|
export PATH="$PATH:$HOME/.cargo/bin"
|
|
|
|
espup install
|
|
rustup toolchain link esp ~/.rustup/toolchains/esp/
|
|
cargo install ldproxy
|
|
|
|
cargo espflash save-image --chip esp32 image.bin
|
|
|
|
|
|
esptool.py --chip ESP32-C3 elf2image --output my-app.bin target/release/my-app
|
|
$ espflash save-image ESP32-C3 target/release/my-app my-app.bin |