andrzej-kaczmarek opened a new pull request #2761: URL: https://github.com/apache/mynewt-core/pull/2761
Since 31250, unlike 32768, is a factor of 1000000 we can use much simpler conversions between LL timer and hal_timer/os_cputime/os_tick values than we currently have. In fact, all we have to is to shift by 5 bits and thus we can remove all those nasty workaround that were added to speed up current conversions that suffered from lack of integral division support on CM0+. Also, since LL timer is 37 bits and we shift by 5 bits, it means we have full 32-bit value of os_cputime readily available just as if we have a native 32-bit timer running at 31250Hz. -- 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]
