I am testing some stuff on an LPC 1768 using mbed OS 5 and mbed-rtos library.
I find that all the non-blocking waits seem to run really slowly? To recreate, just run mbed os blinky LED hello world?
1. With Thread::wait(500) the blinky takes longer than 1 second to cycle more like 3-5x that? and Thread::wait gives deprecation warnings.
2. With ThisThread:;sleep_for(500) similar results but no deprecation warnings.
3. If I create uint64_t now; and try to do ThisThread::sleep_until(now+500) it gives similar results.
In general the deprecated Thread::wait() and usage for sleep_for and sleep_until appear to be undocumented for mbed OS 5???
I am testing some stuff on an LPC 1768 using mbed OS 5 and mbed-rtos library.
I find that all the non-blocking waits seem to run really slowly? To recreate, just run mbed os blinky LED hello world?
1. With Thread::wait(500) the blinky takes longer than 1 second to cycle more like 3-5x that? and Thread::wait gives deprecation warnings.
2. With ThisThread:;sleep_for(500) similar results but no deprecation warnings.
3. If I create uint64_t now; and try to do ThisThread::sleep_until(now+500) it gives similar results.
In general the deprecated Thread::wait() and usage for sleep_for and sleep_until appear to be undocumented for mbed OS 5???