Skip to content

Commit 13f6397

Browse files
committed
zephyr/Kconfig: fixed BOOT_WATCHDOG_FEED default value
This property should be enabled by default only when watchdog driver is available. This fixed build with pristine configuration on targets with CONFIG_WATCHDOG=n. Signed-off-by: Andrzej Puzdrowski <[email protected]>
1 parent 2fcae1c commit 13f6397

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

boot/zephyr/Kconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,9 @@ endchoice
557557

558558
config BOOT_WATCHDOG_FEED
559559
bool "Feed the watchdog while doing swap"
560-
default y
560+
default y if WATCHDOG
561+
default y if SOC_FAMILY_NRF
562+
# for nRF nrfx based implementation is available
561563
imply NRFX_WDT if SOC_FAMILY_NRF
562564
imply NRFX_WDT0 if SOC_FAMILY_NRF
563565
imply NRFX_WDT1 if SOC_FAMILY_NRF

0 commit comments

Comments
 (0)