pub fn build_loader(
session: &mut Session,
path: impl AsRef<Path>,
format: Format,
image_instruction_set: Option<InstructionSet>,
) -> Result<FlashLoader, FileDownloadError>
Expand description
Builds a new flash loader for the given target and path. This will check the path for validity and check what pages have to be flashed etc.