mbed-os/platform/source
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
..
TARGET_CORTEX_M Fixed baremetal heap and stack initialisation. 2020-01-21 10:13:16 +00:00
minimal-printf Minimal-printf: Fix wrapping of printf functions for the ARM compiler 2020-01-13 11:24:57 +00:00
ATCmdParser.cpp busy s... fix (ONME-4352) 2019-12-12 09:36:34 +02:00
CThunkBase.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
CallChain.cpp Upstream PR #11073 review request changes (#11135) 2019-08-02 12:32:40 +01:00
CriticalSectionLock.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
DeepSleepLock.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
FileBase.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
FileHandle.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
FilePath.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
FileSystemHandle.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
LocalFileSystem.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
Stream.cpp mbed_retarget: Add a minimal console implementation to provide basic functionalities 2019-11-11 15:14:00 +00:00
SysTimer.cpp Correct SysTimer absolute time calculations 2020-01-29 15:28:20 +02:00
SysTimer.h Correct SysTimer absolute time calculations 2020-01-29 15:28:20 +02:00
mbed_alloc_wrappers.cpp replace #ifdef MBED_MEM_TRACING_ENABLED and #ifdef MBED_HEAP_STATS_ENABLED with #if MBED_MEM_TRACING_ENABLED and #if MBED_HEAP_STATS_ENABLED 2019-11-27 15:54:22 +01:00
mbed_application.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_assert.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_atomic_impl.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_board.c Remove usage of UARTSerial in Mbed OS Core diretories 2020-01-13 13:20:57 +00:00
mbed_crash_data_offsets.h Change Doxygen groups structure, splitting first by Public/Internal (#11105) 2019-08-02 12:23:47 +01:00
mbed_critical.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_error.c Merge pull request #11970 from kjbracey-arm/fault_crash 2019-12-04 10:13:54 +01:00
mbed_error_hist.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_error_hist.h Change Doxygen groups structure, splitting first by Public/Internal (#11105) 2019-08-02 12:23:47 +01:00
mbed_interface.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_mem_trace.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_mktime.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_mpu_mgmt.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_os_timer.cpp Move source files and add Doxygen labels 2019-09-10 14:31:24 +01:00
mbed_os_timer.h Move source files and add Doxygen labels 2019-09-10 14:31:24 +01:00
mbed_poll.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_power_mgmt.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_retarget.cpp Merge pull request #12225 from evedon/ed-heap-stack-test 2020-01-21 16:27:37 +00:00
mbed_rtc_time.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_sdk_boot.c Fixed baremetal heap and stack initialisation. 2020-01-21 10:13:16 +00:00
mbed_semihost_api.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_stats.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_thread.cpp Move source files and add Doxygen labels 2019-09-10 14:31:24 +01:00
mbed_wait_api_no_rtos.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_wait_api_rtos.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00