aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot/boot/src/mem_flash.rs
Commit message (Collapse)AuthorAgeFilesLines
* Flatten embassy-boot dir treeDario Nieuwenhuis2024-01-111-170/+0
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-3/+0
|
* Cleanup MemFlashRasmus Melchior Jacobsen2023-05-301-50/+56
|
* embassy-boot: add nightly feature gatessander2023-04-111-0/+3
|
* Let Partition range be u32 instead of usizeRasmus Melchior Jacobsen2023-04-051-0/+17
|
* Remove the Flash traitRasmus Melchior Jacobsen2023-04-041-8/+0
|
* Assert active and dfu have same erase size and copy in smaller chunksRasmus Melchior Jacobsen2023-04-041-1/+0
| | | | The copy from active to dfu (and vice versa) is now done in smaller portions depending on aligned_buf, which now does not need to be erase_size big.
* Avoid write to not-erased magicRasmus Melchior Jacobsen2023-04-041-59/+2
| | | | | | This introduces an additional marker to the state partition right after the magic which indicates whether the current progress is valid or not. Validation in tests that we never write without an erase is added. There is currently a FIXME in the FirmwareUpdater. Let me know if we should take the erase value as a parameter. I opened a feature request in embedded-storage to get this value in the trait. Before this, the assumption about ERASE_VALUE=0xFF was the same.
* Move MemFlash to separate module and add verify_erased_before_write verificationRasmus Melchior Jacobsen2023-04-031-0/+213