Rust
cargo install ldproxy
cargo install espup
espup install
. ~/export-esp.sh
Install tools to flash Rust to ESP32, and set up user permissions to allow TTY device access for flashing.
sudo apt install libudev-dev
cargo install espflash
Now we need to generate the template project and flash it to the device.
cargo install esp-generate
esp-generate --chip=esp32 i2c-scanner
cd i2c-scanner
cargo build