boot: flash-erase-zero (#3344)

Allow compatibility with devices whose flash erase set bytes to 0x00
instead of 0xFF, using a new flash-erase-zero feature.
See issue #3342.
This commit is contained in:
kingofpayne
2024-09-16 22:07:56 +02:00
committed by GitHub
parent ae8caf3f55
commit 6d89f2729a
3 changed files with 7 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ The bootloader supports
In general, the bootloader works on any platform that implements the `embedded-storage` traits for its internal flash, but may require custom initialization code to work.
STM32L0x1 devices require the `flash-erase-zero` feature to be enabled.
== Design
image::bootloader_flash.png[Bootloader flash layout]