pub fn read_partition_table<'a>(
flash: &mut impl Storage,
storage: &'a mut [u8],
) -> Result<PartitionTable<'a>, Error>
Expand description
Read the partition table.
Pass an implementation of embedded_storage::Storage which can read from the whole flash and provide storage to read the partition table into.