diff options
| author | Rasmus Melchior Jacobsen <[email protected]> | 2023-05-30 13:44:12 +0200 |
|---|---|---|
| committer | Rasmus Melchior Jacobsen <[email protected]> | 2023-05-30 13:44:12 +0200 |
| commit | 551f76c70067bfa14b159a198cdb92f810f40607 (patch) | |
| tree | e63d5646a933199c22a9ab7558878f124468a1e8 /embassy-boot/boot/src/lib.rs | |
| parent | b23e40f72242a9f4759d8a6d4a924c8c9d041c67 (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.rs | 2 |
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; | |||
| 9 | mod firmware_updater; | 9 | mod firmware_updater; |
| 10 | #[cfg(test)] | 10 | #[cfg(test)] |
| 11 | mod mem_flash; | 11 | mod mem_flash; |
| 12 | mod partition; | ||
| 13 | #[cfg(test)] | 12 | #[cfg(test)] |
| 14 | mod test_flash; | 13 | mod test_flash; |
| 15 | 14 | ||
| 16 | pub 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 |
| 19 | pub(crate) const STATE_ERASE_VALUE: u8 = 0xFF; | 17 | pub(crate) const STATE_ERASE_VALUE: u8 = 0xFF; |
