From abb99c377d996ca0ab2c213974d929eca3542255 Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Wed, 26 Oct 2016 12:54:22 +0100 Subject: [PATCH] soc/stm32f1: Enable IWDG_STM32 dependent on WATCHDOG The STM32F1 range all have the independent watchdog, enable the driver by default if CONFIG_WATCHDOG is enabled. Change-Id: I3869884dc51c56194367b46007c87f6cee699689 Signed-off-by: Marcus Shawcroft --- arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series index 0dc31dddce8..fc6d05e6059 100644 --- a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series +++ b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series @@ -26,4 +26,11 @@ config NUM_IRQ_PRIO_BITS int default 4 +if WATCHDOG + +config IWDG_STM32 + def_bool y + +endif + endif # SOC_SERIES_STM32F1X