Developer setup

VS Code configuration for Rust

Create a .vscode/settings.json with the following content:

{
    "rust-analyzer.linkedProjects": [
        "Cargo.toml",
        "crates/cross_compiled/Cargo.toml",
    ]
}

Setup rust analyzer for ESP32

setup the environment variables in .cargo/config.toml to match the export-esp.sh values.

Rust references