erase_all

Function erase_all 

Source
pub async fn erase_all<S: NorFlash>(
    flash: &mut S,
    flash_range: Range<u32>,
) -> Result<(), Error<S::Error>>
Expand description

Resets the flash in the entire given flash range.

This is just a thin helper function as it just calls the flash’s erase function.