1229 Commits

Author SHA1 Message Date
John Wellbelove
fd3cb9d52d Merge branch 'development' 2017-11-01 10:04:50 +00:00
John Wellbelove
7d75859add Update to 10.3.1 2017-11-01 10:04:25 +00:00
John Wellbelove
a742749849 Merge branch 'development' 2017-11-01 09:33:17 +00:00
John Wellbelove
bf195152ad Clean compile for GCC warnings
-Wundef
-Wshadow
-Wstrict-aliasing
-Wunused-parameter
2017-11-01 09:31:16 +00:00
John Wellbelove
9035b02183 Updated to 10.3.0 10.3.0 2017-10-27 11:27:09 +01:00
John Wellbelove
1f91850065 Merge remote-tracking branch 'origin/development' 2017-10-27 11:23:18 +01:00
John Wellbelove
0c65164483 Added is_null_router() & is_bus() to imessage_router 2017-10-27 11:11:22 +01:00
John Wellbelove
1c769b0fb2 Amalgamated ecl_timer_list into ecl_timer 2017-10-27 11:10:27 +01:00
John Wellbelove
585a65453e Generator was not updated to match the intended generated file. 2017-10-27 10:22:06 +01:00
John Wellbelove
a6f3bcd17e Fixed issue where on_exit_state was being called after the state had changed. 2017-10-27 10:03:25 +01:00
John Wellbelove
58bf40b55d Amalgamated ecl_timer_list into ecl_timer 2017-10-27 09:51:57 +01:00
John Wellbelove
22026e5c09 Removed old example project 2017-10-26 18:53:36 +01:00
John Wellbelove
0df0b91075 Merge remote-tracking branch 'origin/development' 2017-10-26 10:47:41 +01:00
John Wellbelove
ed8b47dacd Added etl::generic_pool top level template class. 2017-10-26 10:42:13 +01:00
John Wellbelove
0924f58b74 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	src/atomic/atomic_arm.h
#	src/atomic/atomic_gcc.h
#	test/vs2017/etl.vcxproj
#	test/vs2017/etl.vcxproj.filters
2017-10-25 21:28:05 +01:00
John Wellbelove
20753250fb Fix bug in compare_exchange_weak where 'expected' was not modified on fail. 2017-10-25 21:19:40 +01:00
John Wellbelove
38138ff40f Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
10.1.1
2017-10-25 09:48:40 +01:00
John Wellbelove
96146b81c2 Raised version to 10.1.1 2017-10-25 09:47:52 +01:00
John Wellbelove
6febf859bc Fixed issue where on_exit_state was being called after the state had changed. 2017-10-25 09:47:14 +01:00
John Wellbelove
88cc021c8c Merge remote-tracking branch 'origin/development'
# Conflicts:
#	examples/ArmTimerCallbacks - C++/RTE/Device/STM32F401RETx/startup_stm32f401xe.s
#	examples/ArmTimerCallbacks - C++/RTE/Device/STM32F401RETx/system_stm32f4xx.c
#	examples/ArmTimerCallbacks/RTE/Device/STM32F401RETx/startup_stm32f401xe.s
#	examples/ArmTimerCallbacks/RTE/Device/STM32F401RETx/system_stm32f4xx.c
#	library.properties
#	test/codeblocks/ETL.cbp
#	test/keil/startup_stm32f401xe.s
#	test/keil/system_stm32f4xx.c
#	test/vs2017/etl.vcxproj
#	test/vs2017/etl.vcxproj.filters
2017-10-24 12:54:09 +01:00
John Wellbelove
be27af09a5 Updated version to 10.1.0 2017-10-24 11:37:39 +01:00
John Wellbelove
ca3236ef2f Merge remote-tracking branch 'origin/feature/timer_triggered' into development
# Conflicts:
#	test/codeblocks/ETL.cbp
2017-10-24 11:28:22 +01:00
John Wellbelove
13de62bd4f Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	src/callback_timer.h
#	src/message_timer.h
#	test/test_callback_timer.cpp
#	test/test_message_timer.cpp
10.0.2
2017-10-21 09:24:16 +01:00
John Wellbelove
61d3835f9d Remove warnings 2017-10-21 09:07:41 +01:00
John Wellbelove
3e536e5946 Merge branch 'development' 2017-10-21 08:55:25 +01:00
John Wellbelove
8c05843b30 Merge remote-tracking branch 'origin/master' into development
# Conflicts:
#	test/codeblocks/ETL.cbp
#	test/codeblocks/ETL.depend
#	test/test_callback_timer.cpp
#	test/test_message_timer.cpp
2017-10-21 08:38:52 +01:00
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
a47109783e Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	src/callback_timer.h
#	src/message_timer.h
#	test/codeblocks/ETL.cbp
#	test/codeblocks/ETL.depend
#	test/test_callback_timer.cpp
#	test/test_message_timer.cpp
#	test/vs2017/etl.vcxproj.filters
2017-10-19 18:34:21 +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
0bfd212a54 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	examples/ArmTimerCallbacks/RTE/Device/STM32F401RETx/startup_stm32f401xe.s
#	examples/ArmTimerCallbacks/RTE/Device/STM32F401RETx/system_stm32f4xx.c
#	library.properties
#	test/codeblocks/ETL.cbp
#	test/codeblocks/ETL.depend
#	test/codeblocks/ETL.layout
#	test/vs2017/etl.vcxproj
#	test/vs2017/etl.vcxproj.filters
2017-10-18 09:23:17 +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
John Wellbelove
53412f898f Added etl::function variants that take both the instance and member function at compile time. 2017-10-11 13:22:11 +01:00
John Wellbelove
97fbb678da Removed Git merge annotation 2017-10-02 20:40:42 +01:00
John Wellbelove
49fe0054d2 Created compile time and runtime variants of cyclic_value. 2017-10-02 19:48:30 +01:00
John Wellbelove
66843b75d3 Removed Keil projects 2017-10-02 19:45:55 +01:00
John Wellbelove
d6e3d2766f Added a compare template that defines <=, >, >= in terms of std::less or a user supplied comparison class. 2017-09-30 19:43:53 +01:00
John Wellbelove
a334e26c7c Undef min for MSVC 2017-09-30 18:54:19 +01:00
John Wellbelove
9da7e3cd5d Changed SIZE to MAX_SIZE for MSVC compatibility 2017-09-30 18:53:40 +01:00
John Wellbelove
cb6153c95a Allow factory to create non-class types. 2017-09-29 20:35:11 +01:00
John Wellbelove
c6876f65d1 Added a compare template that defines <=, >, >= in terms of std::less or a user supplied comparison class. 2017-09-28 11:11:49 +01:00
John Wellbelove
24e661c63a Removed constraint for types to derived from base class. 2017-09-28 10:49:07 +01:00
John Wellbelove
89b3704238 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	src/cyclic_value.h
#	test/codeblocks/ETL.depend
#	test/codeblocks/ETL.layout
2017-09-23 09:52:38 +01:00
John Wellbelove
a985a72840 Allow type to be floating point by changing the comparison operators from == to >= and <= 2017-09-23 09:50:04 +01:00
John Wellbelove
eca5de56d4 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	test/codeblocks/ETL.depend
#	test/codeblocks/ETL.layout
2017-09-21 19:47:06 +01:00
John Wellbelove
8f8dbf7771 Improved efficiency for large advances.
Added static assert for integral types.
2017-09-21 19:46:26 +01:00
John Wellbelove
9acfc2c9a6 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	test/codeblocks/ETL.depend
#	test/codeblocks/ETL.layout
2017-09-21 14:28:18 +01:00
John Wellbelove
489fc5e6a5 Update to 9.6.1 2017-09-21 14:27:33 +01:00
John Wellbelove
7dcf6b50a7 Added pop_into to intrusive_queue
Added pop_into to intrusive_stack
Added reverse to intrusive_stack
2017-09-21 14:05:30 +01:00
John Wellbelove
892009458b Changed pop_into container a template. 2017-09-21 14:03:22 +01:00