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>
This commit is contained in:
Marcus Shawcroft 2016-10-26 12:54:22 +01:00 committed by Anas Nashif
commit abb99c377d

View file

@ -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