mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-04 18:25:12 +00:00
CONFIG_IWDG_STM32_TIMEOUT allowed values of 100 us for initial watchdog timeout, which was actually rounded to zero in the driver, which uses milliseconds resolution for timeouts. This resulted in the reload value being set to maximum possible (calculation: 0U - 1). This commit updates the calculation of timeout minimum and maximum values considering the actual LSI frequency of the used MCU. As the resolution of CONFIG_IWDG_STM32_TIMEOUT in microseconds doesn't make sense if the driver supports only milliseconds, it is renamed to IWDG_STM32_INITIAL_TIMEOUT (this prevents accidental wrong settings in existing firmware) and the unit is changed to ms. Signed-off-by: Martin Jäger <martin@libre.solar> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.cmsdk_apb | ||
Kconfig.esp32 | ||
Kconfig.gecko | ||
Kconfig.mcux | ||
Kconfig.mcux_imx | ||
Kconfig.nrfx | ||
Kconfig.sam | ||
Kconfig.sam0 | ||
Kconfig.stm32 | ||
Kconfig.xec | ||
wdt_cmsdk_apb.c | ||
wdt_esp32.c | ||
wdt_gecko.c | ||
wdt_handlers.c | ||
wdt_iwdg_stm32.c | ||
wdt_iwdg_stm32.h | ||
wdt_mchp_xec.c | ||
wdt_mcux_imx_wdog.c | ||
wdt_mcux_wdog.c | ||
wdt_mcux_wdog32.c | ||
wdt_mcux_wwdt.c | ||
wdt_nrfx.c | ||
wdt_sam.c | ||
wdt_sam0.c | ||
wdt_wwdg_stm32.c | ||
wdt_wwdg_stm32.h |