kasjer opened a new pull request, #3223: URL: https://github.com/apache/mynewt-core/pull/3223
All STM32 devices use LSI for watchdog functionality. LSI frequency varies between MCUs and it's approximation is define by LSI_VALUE in stm32xxx_hal_conf.h. Code was assuming 32768 which is ok for devices that have LSI rate at 30kHz. Some device has 37kHz others 40kHz it those cases calculated time could be too much off resulting in reset by watchdog. Now code uses LSI_VALUE adding 10% to avoid cases when LSI runs faster then nominal. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
