pub fn image_for(
dir: &Path,
board: Option<&str>,
) -> Result<(Option<String>, PathBuf), String>Expand description
Where a project’s built image lives, and which board it belongs to.
litz build does not need a diagram, but a pushed image does need a name
the editor can show. [build] firmware is the recipe’s own output and wins
for a project with one board; a [[board]] section names each board’s
image when there are several.