From f011d3e93e3a6e451a290e3630eeb3825dfa832b Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Fri, 27 Sep 2024 08:19:00 +0100 Subject: [PATCH] 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 --- subsys/dfu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/subsys/dfu/Kconfig b/subsys/dfu/Kconfig index ec7d90ba14a2f6..5977764016d369 100644 --- a/subsys/dfu/Kconfig +++ b/subsys/dfu/Kconfig @@ -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