mbed-os/platform
Kevin Bracey de915a034b Correct SysTimer absolute time calculations
`SysTimer::set_wake_time` incorrectly assumed that the `SysTimer`s tick
count and the underlying HAL timer had the same zero base. This normally
holds, at least approximately, in RTOS builds where the HAL timer starts
from zero at the same time the SysTimer is initialised.

But in bare metal builds, the HAL timer could be started some time
before the SysTimer, giving a significant discrepancy.

Beyond that, there's no requirement for HAL timers to start from zero in
the spec.

Record the HAL timer start time to get the conversion right.
2020-01-29 15:28:20 +02:00
..
bare_metal Addressed review comments, in particular: 2019-08-01 12:42:24 +01:00
cxxsupport Add mstd_new for mstd::launder 2020-01-09 14:52:50 +02:00
internal Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
source Correct SysTimer absolute time calculations 2020-01-29 15:28:20 +02:00
ATCmdParser.h Remove usage of UARTSerial in Mbed OS Core diretories 2020-01-13 13:20:57 +00:00
CThunk.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
CallChain.h Upstream PR #11073 review request changes (#11135) 2019-08-02 12:32:40 +01:00
Callback.h Remove deprecated Callback methods 2019-12-02 15:27:10 +02:00
CircularBuffer.h namespace and extern C don't need semicolon 2019-12-26 16:08:22 -06:00
CriticalSectionLock.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
DeepSleepLock.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
DirHandle.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
FileBase.h Change Doxygen groups structure, splitting first by Public/Internal (#11105) 2019-08-02 12:23:47 +01:00
FileHandle.h Change Doxygen groups structure, splitting first by Public/Internal (#11105) 2019-08-02 12:23:47 +01:00
FileLike.h Change Doxygen groups structure, splitting first by Public/Internal (#11105) 2019-08-02 12:23:47 +01:00
FilePath.h Change Doxygen groups structure, splitting first by Public/Internal (#11105) 2019-08-02 12:23:47 +01:00
FileSystemHandle.h Change Doxygen groups structure, splitting first by Public/Internal (#11105) 2019-08-02 12:23:47 +01:00
FileSystemLike.h Change Doxygen groups structure, splitting first by Public/Internal (#11105) 2019-08-02 12:23:47 +01:00
LocalFileSystem.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
NonCopyable.h Fix Coverity issue: Initialize FlashIAP non-static member in constructor 2019-09-17 09:55:37 +01:00
PlatformMutex.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
ScopedLock.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
ScopedRamExecutionLock.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
ScopedRomWriteLock.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
SharedPtr.h Turn NULLs into nullptr 2020-01-09 14:52:54 +02:00
SingletonPtr.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
Span.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
Stream.h mbed_retarget: Add a minimal console implementation to provide basic functionalities 2019-11-11 15:14:00 +00:00
Transaction.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
critical.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
mbed_application.h Add bootloader support for the LPC55S69 board 2019-03-16 00:13:40 +02:00
mbed_assert.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_atomic.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_critical.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_debug.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_error.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_interface.h Avoid crashes during fault handler 2019-11-28 15:03:26 +02:00
mbed_lib.json Merge pull request #12207 from hugueskamba/hk-add-buffered_serial 2020-01-16 10:06:22 +00:00
mbed_mem_trace.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_mktime.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_mpu_mgmt.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_poll.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_power_mgmt.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_preprocessor.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_retarget.h Remove usage of UARTSerial in Mbed OS Core diretories 2020-01-13 13:20:57 +00:00
mbed_rtc_time.h mbed_rtc_time.h lacks an include guard 2019-10-09 17:58:23 -05:00
mbed_semihost_api.h Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_sleep.h Fix merge conflict mishap 2018-03-01 17:33:21 +00:00
mbed_stats.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_thread.h Move source files and add Doxygen labels 2019-09-10 14:31:24 +01:00
mbed_toolchain.h Add MBED_FALLTHROUGH attribute 2019-12-05 12:08:26 +02:00
mbed_version.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_wait_api.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
platform.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
rtc_time.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
semihost_api.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
sleep.h Add system_reset() function to Mbed OS 2018-02-28 16:42:34 +00:00
toolchain.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
wait_api.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00