Expand description
ESP32 platform build, flash, emulation, and package utilities.
The generated harness crate pins its own esp Rust toolchain via
rust-toolchain.toml and selects the Xtensa target via .cargo/config.toml,
so builds simply run cargo build inside the harness directory with the
Xtensa GCC and clang library paths exported.
Structs§
- Serial
Port Summary - Summary of a host serial port for device listing and board auto-detection.
Functions§
- build_
esp32 - Build the ESP32 firmware ELF for the configured chip.
- built_
esp32_ binary_ path - Resolve the built ESP32 firmware ELF path for the given profile.
- clean_
esp32 - Clean Cargo build artifacts and packaged images for the ESP32 harness.
- detect_
esp_ serial_ port - Pick the serial port of a connected ESP32 board, if any.
- esp_
toolchain_ envs - Environment variables required to drive the Espressif Rust toolchain for
chip. - is_
esp32_ platform - Check if a platform is supported by the ESP32 backend.
- package_
esp32 - Package the built firmware as a flashable merged image.
- qemu_
esp32 - Run the built firmware ELF under the chip’s QEMU, streaming serial output.
- run_
esp32 - Build, then flash and monitor the firmware on a board, or emulate it.
- scan_
serial_ ports - List host serial ports, marking ports that look like ESP32 boards.