Skip to content

Commit a2fad12

Browse files
bjdanvlsianpu
authored andcommitted
zephyr: enable progressive erase on all nRF boards
Enables BOOT_ERASE_PROGRESSIVELY for Nordic nRF boards. This fixes issue where mcumgr upload command would result in device being deleted, but no new image being uploaded due to timeout while waiting for erase operation. This avoids a delay of several seconds during firmware upload. Signed-off-by: Bernt Johan Damslora <[email protected]> Signed-off-by: Emil Obalski <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]> Signed-off-by: Håkon Øye Amundsen <[email protected]> Signed-off-by: Martí Bolívar <[email protected]>
1 parent 25eabb6 commit a2fad12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ config BOOT_MAX_IMG_SECTORS
276276

277277
config BOOT_ERASE_PROGRESSIVELY
278278
bool "Erase flash progressively when receiving new firmware"
279-
default y if SOC_NRF52840
279+
default y if SOC_FAMILY_NRF
280280
help
281281
If enabled, flash is erased as necessary when receiving new firmware,
282282
instead of erasing the whole image slot at once. This is necessary

0 commit comments

Comments
 (0)