aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot
diff options
context:
space:
mode:
authorRasmus Melchior Jacobsen <[email protected]>2023-04-04 21:43:18 +0200
committerRasmus Melchior Jacobsen <[email protected]>2023-04-04 21:43:18 +0200
commit78e6b4d26134887b50e3ff3239a20f9b3002e8a0 (patch)
treec9becaa2e59b3b9b6b0295a87fe8611db240cbb8 /embassy-boot
parent53efb029009e3cb92bb19c8ac8f521407aa4d1e2 (diff)
Remove comment about equal erase size requirement
Diffstat (limited to 'embassy-boot')
-rw-r--r--embassy-boot/boot/src/boot_loader.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy-boot/boot/src/boot_loader.rs b/embassy-boot/boot/src/boot_loader.rs
index 25f81009e..ccd74b237 100644
--- a/embassy-boot/boot/src/boot_loader.rs
+++ b/embassy-boot/boot/src/boot_loader.rs
@@ -31,8 +31,6 @@ where
31} 31}
32 32
33/// Trait defining the flash handles used for active and DFU partition. 33/// Trait defining the flash handles used for active and DFU partition.
34/// The ACTIVE and DFU erase sizes must be equal. If this is not the case, then consider adding an adapter for the
35/// smallest flash to increase its erase size such that they match. See e.g. [`crate::large_erase::LargeErase`].
36pub trait FlashConfig { 34pub trait FlashConfig {
37 /// The erase value of the state flash. Typically the default of 0xFF is used, but some flashes use a different value. 35 /// The erase value of the state flash. Typically the default of 0xFF is used, but some flashes use a different value.
38 const STATE_ERASE_VALUE: u8 = 0xFF; 36 const STATE_ERASE_VALUE: u8 = 0xFF;