From 24ff13e92ca39055877aa57b366a33b982d70d02 Mon Sep 17 00:00:00 2001 From: Francois Ramu Date: Mon, 11 Mar 2024 17:46:54 +0100 Subject: [PATCH] drivers: watchdog: stm32 wdg driver support stm32H7RS serie Add the stm32h7rs serie to the stm32 WDG driver Signed-off-by: Francois Ramu --- drivers/watchdog/wdt_iwdg_stm32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/watchdog/wdt_iwdg_stm32.c b/drivers/watchdog/wdt_iwdg_stm32.c index bafd8f579df..6c6846abf61 100644 --- a/drivers/watchdog/wdt_iwdg_stm32.c +++ b/drivers/watchdog/wdt_iwdg_stm32.c @@ -99,6 +99,8 @@ static int iwdg_stm32_setup(const struct device *dev, uint8_t options) #endif #if defined(CONFIG_SOC_SERIES_STM32H7X) LL_DBGMCU_APB4_GRP1_FreezePeriph(LL_DBGMCU_APB4_GRP1_IWDG1_STOP); +#elif defined(CONFIG_SOC_SERIES_STM32H7RSX) + LL_DBGMCU_APB4_GRP1_FreezePeriph(LL_DBGMCU_APB4_GRP1_IWDG_STOP); #else LL_DBGMCU_APB1_GRP1_FreezePeriph(LL_DBGMCU_APB1_GRP1_IWDG_STOP); #endif