Expand description
Booting a diagram and a set of flash images, with no project directory.
runner reads a project’s files; a host that already has
the diagram and the images in memory — the browser simulator is one — wants
the same construction without the file system in the way. The sequence is
shared so the two cannot drift: validate the diagram against the builtin
catalog, flatten it into a board, attach the board to the chip, place the
images in flash and either let the second-stage bootloader run or jump
straight to the application.
boot chooses the backend from the board’s manifest, exactly as the
runner does, so every builtin chip is reachable from an in-memory host.
boot_c3 is the older ESP32-C3-only entry point kept for callers that
named the chip themselves.
Structs§
- Boot
Options - What a host can choose about a boot before the diagram is read.
- Booted
- A booted circuit: the chip that runs it and the board it drives.
- Images
- The images a boot needs. ROM and the bootloader/partition-table pair are optional; the pair goes together or not at all, because the bootloader looks the application up through the table.
- Manifest
Text - One manifest the host supplies, with the board’s internal schematic when the manifest names one and has no directory to resolve it against.
Constants§
- DEFAULT_
MAC - Espressif’s example MAC. Nothing in the simulation is MAC-specific, so a fixed value keeps two runs byte-identical.