Skip to content

Commit

Permalink
dfu: Add missing depends on for progressive erase
Browse files Browse the repository at this point in the history
Adds a depends on that requires the underlying driver support
explicit erase

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
  • Loading branch information
nordicjm committed Sep 27, 2024
1 parent 7e892f8 commit f011d3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subsys/dfu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ config IMG_BLOCK_BUF_SIZE
config IMG_ERASE_PROGRESSIVELY
bool "Erase flash progressively when receiving new firmware"
select STREAM_FLASH_ERASE
depends on FLASH_HAS_EXPLICIT_ERASE
help
If enabled, flash is erased as necessary when receiving new firmware,
instead of erasing the whole image slot at once. This is necessary
Expand Down

0 comments on commit f011d3e

Please sign in to comment.