fn flash( config: &Config, zip: &ArchiveHandle<'_, File>, partitions: &[Partition], inactive: FotaActive, work_dir: &Path, ) -> Result<()>