Remove legacy Partition type and use the one from embedded-hal

This commit is contained in:
Rasmus Melchior Jacobsen
2023-05-30 13:44:12 +02:00
parent b23e40f722
commit 551f76c700
3 changed files with 4 additions and 149 deletions

View File

@ -9,11 +9,9 @@ mod digest_adapters;
mod firmware_updater;
#[cfg(test)]
mod mem_flash;
mod partition;
#[cfg(test)]
mod test_flash;
pub use partition::Partition;
// The expected value of the flash after an erase
// TODO: Use the value provided by NorFlash when available
pub(crate) const STATE_ERASE_VALUE: u8 = 0xFF;