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:
parent
a2017aafa1
commit
abb99c377d
1 changed files with 7 additions and 0 deletions
|
@ -26,4 +26,11 @@ config NUM_IRQ_PRIO_BITS
|
||||||
int
|
int
|
||||||
default 4
|
default 4
|
||||||
|
|
||||||
|
if WATCHDOG
|
||||||
|
|
||||||
|
config IWDG_STM32
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
endif # SOC_SERIES_STM32F1X
|
endif # SOC_SERIES_STM32F1X
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue