probe_rs::flashing

Function erase_all

Source
pub fn erase_all(
    session: &mut Session,
    progress: FlashProgress,
) -> Result<(), FlashError>
Expand description

Mass-erase all nonvolatile memory.

The optional progress will only be used to emit RTT messages. No actual indication for the state of the erase all operation will be given.