convert_from_uf2

Function convert_from_uf2 

Source
pub fn convert_from_uf2(
    buf: &[u8],
) -> Result<(Vec<u8>, HashMap<u32, u64>), Error>
Expand description

Takes a UF2 and returns raw bin coupled with family ID-target address pairs

§Panics

  • If slices can’t be chunked into arrays of the right sizes
  • Current address wasn’t set when it should have been

§Errors