mirror of https://github.com/ARMmbed/mbed-os.git
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>
|
||
|---|---|---|
| .. | ||
| common | ||
| cordio | ||
| gap | ||
| gatt | ||
| generic | ||
| pal | ||
| BLE.cpp | ||
| BLEInstanceBase.h | ||
| CMakeLists.txt | ||
| Gap.cpp | ||
| GattClient.cpp | ||
| GattServer.cpp | ||
| SecurityManager.cpp | ||