We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdce0bb commit f09e5f5Copy full SHA for f09e5f5
1 file changed
src/libwolfboot.c
@@ -752,7 +752,10 @@ void RAMFUNCTION wolfBoot_update_trigger(void)
752
* FLAGS_INVERT needs erased flags because the bin-assemble's fill byte may
753
* not match what's in wolfBoot */
754
if (FLAGS_UPDATE_EXT()) {
755
+#ifndef NVM_FLASH_WRITEONCE
756
ext_flash_erase(lastSector, SECTOR_FLAGS_SIZE);
757
+ wolfBoot_set_partition_state(PART_UPDATE, st);
758
+#endif
759
} else {
760
#ifndef NVM_FLASH_WRITEONCE
761
hal_flash_erase(lastSector, SECTOR_FLAGS_SIZE);
0 commit comments