Function erase_partitions

Source
pub fn erase_partitions(
    flasher: &mut Flasher,
    partition_table: Option<PartitionTable>,
    erase_parts: Option<Vec<String>>,
    erase_data_parts: Option<Vec<DataType>>,
) -> Result<()>
Available on crate feature cli only.
Expand description

Erase one or more partitions by label or DataType