drivers: watchdog: stm32 wdg driver support stm32H7RS serie
Add the stm32h7rs serie to the stm32 WDG driver Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
895ef1d6c5
commit
24ff13e92c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue