Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Watchdog issue with timeout #11175
Currently calculated timout is rounded down on STM devices, but in this test:
It is checked if calculated is bigger or equal to the value passed via init function. This test passes for most of the targets, because of their LSI frequency value which after division throgh it gives good integer value so that reload value can be calculated without any rounding. But not in the case of STM32-L0xx boards where the LSI frequency value is set to 37 kHz.
So should we change the test so we accept rounding down, or should we round the values up (if it doesn't exceed the upper limit of timeout)?
Issue request type
The test verifies our timing requirements for watchdog timeout. Has to stay as it is. It is the implementation, that has to be updated, if it doesn't comply with requirements.