Skip to content

Commit 18b2005

Browse files
nordicjmaescolar
authored andcommitted
dfu: Add missing depends on for progressive erase
Adds a depends on that requires the underlying driver support explicit erase Signed-off-by: Jamie McCrae <[email protected]>
1 parent a6ed05e commit 18b2005

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/dfu/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ config IMG_BLOCK_BUF_SIZE
6969
config IMG_ERASE_PROGRESSIVELY
7070
bool "Erase flash progressively when receiving new firmware"
7171
select STREAM_FLASH_ERASE
72+
depends on FLASH_HAS_EXPLICIT_ERASE
7273
help
7374
If enabled, flash is erased as necessary when receiving new firmware,
7475
instead of erasing the whole image slot at once. This is necessary

0 commit comments

Comments
 (0)