mbed-os/drivers/tests/TESTS/mbed_drivers/lp_ticker
harmut01 86c2d70a5b Greentea: Remove deprecated APIs and use chrono
References to time should do so using std::chrono. We reworked tests in
connectivity and drivers to use std::chrono and new APIs in order to
remove deprecation warnings resulting from deprecated API calls.
This required addition of  a macro for test assertions using std::chrono
values.

As host test "timing_drift_auto" expects time values represented as an
integral number of microseconds, we explicitly provide this in place
using "microseconds{TICKER_TIME}.count()" in the relevant ticker tests.
We recognise this is ugly, but thought it best to descriptively convert
from std::chrono to the host test's required representation.

Co-authored-by: Hari Limaye <hari.limaye@arm.com>
2021-07-29 14:06:27 +01:00
..
CMakeLists.txt CMake: Require TEST_SOURCES in greentea CMake file 2021-06-29 13:33:42 +01:00
main.cpp Greentea: Remove deprecated APIs and use chrono 2021-07-29 14:06:27 +01:00