aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot/boot/src/lib.rs
diff options
context:
space:
mode:
authorRasmus Melchior Jacobsen <[email protected]>2023-05-30 13:44:12 +0200
committerRasmus Melchior Jacobsen <[email protected]>2023-05-30 13:44:12 +0200
commit551f76c70067bfa14b159a198cdb92f810f40607 (patch)
treee63d5646a933199c22a9ab7558878f124468a1e8 /embassy-boot/boot/src/lib.rs
parentb23e40f72242a9f4759d8a6d4a924c8c9d041c67 (diff)
Remove legacy Partition type and use the one from embedded-hal
Diffstat (limited to 'embassy-boot/boot/src/lib.rs')
-rw-r--r--embassy-boot/boot/src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy-boot/boot/src/lib.rs b/embassy-boot/boot/src/lib.rs
index c76087ff1..15d3a4f21 100644
--- a/embassy-boot/boot/src/lib.rs
+++ b/embassy-boot/boot/src/lib.rs
@@ -9,11 +9,9 @@ mod digest_adapters;
9mod firmware_updater; 9mod firmware_updater;
10#[cfg(test)] 10#[cfg(test)]
11mod mem_flash; 11mod mem_flash;
12mod partition;
13#[cfg(test)] 12#[cfg(test)]
14mod test_flash; 13mod test_flash;
15 14
16pub use partition::Partition;
17// The expected value of the flash after an erase 15// The expected value of the flash after an erase
18// TODO: Use the value provided by NorFlash when available 16// TODO: Use the value provided by NorFlash when available
19pub(crate) const STATE_ERASE_VALUE: u8 = 0xFF; 17pub(crate) const STATE_ERASE_VALUE: u8 = 0xFF;