Skip to content

Commit b25ba4b

Browse files
nvlsianpud3zd3z
authored andcommitted
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 08a30a4 commit b25ba4b

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
@@ -568,7 +568,9 @@ endchoice
568568

569569
config BOOT_WATCHDOG_FEED
570570
bool "Feed the watchdog while doing swap"
571-
default y
571+
default y if WATCHDOG
572+
default y if SOC_FAMILY_NRF
573+
# for nRF nrfx based implementation is available
572574
imply NRFX_WDT if SOC_FAMILY_NRF
573575
imply NRFX_WDT0 if SOC_FAMILY_NRF
574576
imply NRFX_WDT1 if SOC_FAMILY_NRF

0 commit comments

Comments
 (0)