Skip to main content

read_partition_table

Function read_partition_table 

Source
pub fn read_partition_table<'a, 'd>(
    flash: &mut FlashStorage<'d>,
    storage: &'a mut [u8],
) -> Result<PartitionTable<'a>, Error>
Expand description

Read the partition table.

Pass FlashStorage and a buffer to read the partition table into.