John Wellbelove
f9e4fd8730
Removed internal 'tick_count' member from timers.
...
Fixed usage of atomic guard variables. Calls load() instead of relying on implicit cast.
Fixed Windows threading issue for callback and message timer tests.
2017-10-20 22:08:25 +01:00
John Wellbelove
cc26d5e6ba
Fixed corner case when no timer is active for around 2^32 ticks and the internal tick count rolls over just after a new timer is started.
...
Also tick(uint32_t count) was not returning the correct value when tick processing did not occur.
2017-10-19 18:17:56 +01:00
John Wellbelove
e174276556
Fix bug if timer list is empty for 49+ days. (Internal tick count rollover)
2017-10-19 10:31:27 +01:00
John Wellbelove
8455e108bc
Merge remote-tracking branch 'origin/feature/Timer_triggered_messages' into development
...
# Conflicts:
# examples/ArmTimerCallbacks/RTE/Device/STM32F401RETx/startup_stm32f401xe.s
# examples/ArmTimerCallbacks/RTE/Device/STM32F401RETx/system_stm32f4xx.c
# examples/FunctionInterruptSimulation/FunctionInterruptSimulation.cpp
# examples/FunctionInterruptSimulation/vs2017/FunctionInterruptSimulation.sln
# examples/FunctionInterruptSimulation/vs2017/FunctionInterruptSimulation.vcxproj
# examples/FunctionInterruptSimulation/vs2017/FunctionInterruptSimulation.vcxproj.filters
# test/codeblocks/ETL.cbp
# test/codeblocks/ETL.depend
# test/codeblocks/ETL.layout
# test/test_cyclic_value.cpp
# test/vs2017/etl.vcxproj
# test/vs2017/etl.vcxproj.filters
2017-10-18 09:02:46 +01:00