Skip to content

Commit

Permalink
[nrf fromlist] 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

Upstream PR: zephyrproject-rtos/zephyr#79090

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
  • Loading branch information
nordicjm authored and bjarki-andreasen committed Sep 27, 2024
1 parent e4f1731 commit bc02145
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 bc02145

Please sign in to comment.