Skip to main content

boot

Function boot 

Source
pub fn boot(
    diagram: &str,
    images: Images<'_>,
    options: &BootOptions,
) -> Result<Booted, String>
Expand description

Boot whatever chip the diagram’s board names.

The images are copied before this returns, so the caller keeps ownership of its buffers. A merged ESP image is recognised and written at the bootloader offset, the way the runner does it; a bare application goes at the chip’s own application offset.