Function espflash::cli::save_elf_as_image
source · pub fn save_elf_as_image(
elf_data: &[u8],
chip: Chip,
image_path: PathBuf,
flash_data: FlashData,
merge: bool,
skip_padding: bool,
xtal_freq: XtalFrequency
) -> Result<()>
Available on crate feature
cli
only.Expand description
Convert the provided firmware image from ELF to binary