soc: stm32g0: Add support for STM32 IWDG

The driver for STM32's independent watchdog already exists and is
compatible with the stm32g0 SoC. Enable the independent watchdog
for the stm32g0 series for use with this driver.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
Thomas Stranger 2020-03-04 23:39:28 +01:00 committed by Johan Hedberg
commit a44e9f496e
3 changed files with 13 additions and 0 deletions

View file

@ -44,6 +44,10 @@
#include <stm32g0xx_ll_i2c.h>
#endif
#ifdef CONFIG_IWDG_STM32
#include <stm32g0xx_ll_iwdg.h>
#endif
#ifdef CONFIG_WWDG_STM32
#include <stm32g0xx_ll_wwdg.h>
#endif