1451 Commits

Author SHA1 Message Date
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
John Wellbelove
c6e1e9ac00 Added pop_into(iqueue&) to queue
Added pop_into(istack&) to stack
Added reverse() to stack.
2017-09-19 20:21:03 +01:00
John Wellbelove
61a9b2019b Moved common code to base. 2017-09-19 19:48:30 +01:00
John Wellbelove
68c964a45a Merge branch 'development'
# Conflicts:
#	test/codeblocks/.gitignore
#	test/codeblocks/ETL.depend
#	test/codeblocks/ETL.layout
#	test/test_type_lookup.cpp
9.6.0
2017-09-19 08:38:57 +01:00
John Wellbelove
1803dca3eb Ignored 2017-09-19 08:37:27 +01:00
John Wellbelove
7eeb28ba0a Set version to 9.6.0 2017-09-19 08:36:53 +01:00
John Wellbelove
51b5675e6a Added static runtime get_id_from_type member functions. 2017-09-19 08:31:44 +01:00
John Wellbelove
d4c360644b Merge remote-tracking branch 'origin/development'
# Conflicts:
#	src/type_lookup.h
#	src/type_lookup_generator.h
#	test/codeblocks/ETL.layout
2017-09-18 10:53:58 +01:00
John Wellbelove
ae57448c3e Made invalid id or types a compile time error. 2017-09-18 10:50:05 +01:00
John Wellbelove
7a6e2f713b Merge remote-tracking branch 'origin/development'
# Conflicts:
#	test/codeblocks/ETL.layout
2017-09-17 18:29:25 +01:00
John Wellbelove
807c0f93ed Updated generate script tp include type_lookup. 2017-09-17 18:28:55 +01:00
John Wellbelove
c44b68cf43 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	test/codeblocks/ETL.cbp
#	test/codeblocks/ETL.depend
#	test/codeblocks/ETL.layout
2017-09-17 18:03:18 +01:00
John Wellbelove
f8ff224365 Fixed formatting typo.
Added missing files to projects.
2017-09-17 18:01:37 +01:00
John Wellbelove
0b423514fd Merge remote-tracking branch 'origin/development'
# Conflicts:
#	src/factory.h
#	test/codeblocks/ETL.depend
#	test/codeblocks/ETL.layout
#	test/test_factory.cpp
2017-09-17 16:23:48 +01:00
John Wellbelove
a9e61444a9 Changed create_from_id to return actual derived type. 2017-09-17 16:08:49 +01:00
John Wellbelove
d0a433b226 Merge to master 2017-09-17 13:02:50 +01:00
John Wellbelove
2931963b81 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	src/factory.h
#	test/codeblocks/ETL.depend
#	test/test_factory.cpp
#	test/vs2017/etl.vcxproj.filters
2017-09-17 13:02:15 +01:00
John Wellbelove
84f5fd946e Fixed GCC warning.
Fixed formatting typo.
2017-09-17 12:56:57 +01:00
John Wellbelove
873998518c Modified factory to accept non-contiguous type ids.
Added support for compile time type-to-id id-to-type type-to-type mapping
2017-09-17 12:43:45 +01:00
John Wellbelove
b885ad3d33 Added 'pop_into' member functions. 2017-09-14 16:27:32 +01:00
John Wellbelove
a3f3a37667 Merge remote-tracking branch 'origin/development' 2017-09-13 13:38:48 +01:00
John Wellbelove
29c9b658d7 Modified factory pattern 2017-09-13 13:17:11 +01:00
John Wellbelove
dcefb938c4 Changed max_items to max_size 2017-09-13 13:16:50 +01:00
John Wellbelove
7ee5acee18 Added factory pattern 2017-09-11 21:17:33 +01:00
John Wellbelove
259dbfa741 Added type size test and error to ipool::allocate 2017-08-25 14:27:20 +01:00
John Wellbelove
ce7db33844 Merge branch 'feature/Types' into development 2017-08-25 11:11:33 +01:00
John Wellbelove
267408445b Added ETL extension etl::types to allow extraction of various types from a specified type. 2017-08-25 11:10:54 +01:00
John Wellbelove
b145adb4eb Added additional generator scripts. 2017-08-25 11:09:23 +01:00
John Wellbelove
9100a5287d Raised version to 9.5.1 2017-08-22 09:36:59 +01:00