diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2016-10-26 12:54:22 +0100 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-10-26 20:51:08 +0000 |
commit | abb99c377d996ca0ab2c213974d929eca3542255 (patch) | |
tree | 4fe3b2d3d6dc049b8ad9dc6648fc27ceef0910b8 /arch | |
parent | a2017aafa1f52632cdcdd5e731ea7ffb19765ccc (diff) |
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 <marcus.shawcroft@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series index 0dc31dddc..fc6d05e60 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 |