ESP32 | Rust | Create a new Rust project on Linux (Ubuntu)

Execute these commands:

cargo install cargo-generate
# STD Project
cargo generate esp-rs/esp-idf-template cargo
cd your-project-name

cargo install espup
 # To install Espressif Rust ecosystem
espup install
. $HOME/
cargo install espflash
cargo build

In case of errors, delete .embuild directory and start from the `cargo install espup` command (perhaps you have some files corrupted).