pub fn read_image(name: &str, bytes: &[u8]) -> Result<Vec<u8>, String>Expand description
Reads a firmware file: Intel HEX (.hex, or text starting with :) is
turned into a binary image from its lowest address with gaps filled with
0xFF; anything else (.gbl, .bin, .ota) is sent as it is.