embassy/embassy-boot
Rasmus Melchior Jacobsen df3a1e1b9d Avoid write to not-erased magic
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.
2023-04-04 07:18:29 +02:00
..
boot Avoid write to not-erased magic 2023-04-04 07:18:29 +02:00
nrf Bump embedded-storage-async to 0.4 2023-03-06 22:16:36 +01:00
rp Bump embedded-storage-async to 0.4 2023-03-06 22:16:36 +01:00
stm32 Bump embedded-storage-async to 0.4 2023-03-06 22:16:36 +01:00