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
|
#endif
|
||||||
#if defined(CONFIG_SOC_SERIES_STM32H7X)
|
#if defined(CONFIG_SOC_SERIES_STM32H7X)
|
||||||
LL_DBGMCU_APB4_GRP1_FreezePeriph(LL_DBGMCU_APB4_GRP1_IWDG1_STOP);
|
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
|
#else
|
||||||
LL_DBGMCU_APB1_GRP1_FreezePeriph(LL_DBGMCU_APB1_GRP1_IWDG_STOP);
|
LL_DBGMCU_APB1_GRP1_FreezePeriph(LL_DBGMCU_APB1_GRP1_IWDG_STOP);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue