3028 Commits

Author SHA1 Message Date
John Wellbelove
c5fba8fd45 Added experimental uni_type 2021-06-22 14:17:10 +01:00
John Wellbelove
2ef35caa77 Added experimental uni_type 2021-06-22 14:16:49 +01:00
John Wellbelove
36db54dd67 Updated version numbers 2021-06-22 14:13:20 +01:00
John Wellbelove
622eaa4434 Fixed copy and move assignment bug 2021-06-22 14:13:20 +01:00
John Wellbelove
f0f0500c94 Define missing macro when cross compiling with clang 2021-06-22 14:13:19 +01:00
John Wellbelove
5dd5bc3aac Define missing macro when cross compiling with clang 2021-06-22 14:13:19 +01:00
T
32d80e91e7 Add support to cross-compile with clang (#389)
Clang does not define __WCHAR_MIN__ however, limits.h relies on it.
By using the __AVR__ macro we can define __WCHAR_MIN__ only when
cross-compiling with clang.
2021-06-22 14:13:19 +01:00
John Wellbelove
2e0c2a4099 Merge branch 'master' into feature/variadic-variant 2021-06-17 13:45:57 +01:00
John Wellbelove
7f30a7cb8b etl::basic_string::copy is now const and does not affect the 'truncated' flag. 2021-06-17 13:42:49 +01:00
John Wellbelove
6a1ce235dc etl::basic_string::copy is now const and does not affect the 'truncated' flag. 20.11.2 2021-06-17 13:02:59 +01:00
John Wellbelove
e44efd75a7 etl::basic_string::copy is now const and does not affect the 'truncated' flag. 2021-06-17 12:01:04 +01:00
John Wellbelove
afabc049b7 Merge branch 'master' into feature/variadic-variant
# Conflicts:
#	include/etl/mem_cast.h
#	test/test_mem_cast.cpp
#	test/test_mem_cast_ptr.cpp
#	test/vs2019/etl.vcxproj
#	test/vs2019/etl.vcxproj.filters
2021-06-14 18:24:59 +01:00
John Wellbelove
5bd7222e92 Updated version numbers 20.11.1 2021-06-14 17:31:33 +01:00
John Wellbelove
6f0b0a9809 Updated version numbers 2021-06-14 14:31:55 +01:00
John Wellbelove
892529b0f2 Merge branch 'feature/mem_cast' into development 2021-06-14 14:20:38 +01:00
John Wellbelove
a287877ac9 Fixed ambiguous function call for clang 2021-06-14 14:00:53 +01:00
John Wellbelove
2c8f079c60 Fixed ambiguous function call for clang 2021-06-14 13:53:15 +01:00
John Wellbelove
1781be7702 Fixed ambiguous function call for clang 2021-06-14 13:23:41 +01:00
John Wellbelove
f68624f909 Fixed ambiguous function call for clang 2021-06-14 13:18:17 +01:00
John Wellbelove
e4e61cfe69 Fixed ambiguous function call for clang 2021-06-14 13:11:03 +01:00
John Wellbelove
0a7a131a43 Updated version numbers 20.11.0 2021-06-12 11:48:27 +01:00
John Wellbelove
fb54f23e5d Latest updates 2021-06-12 11:43:32 +01:00
John Wellbelove
49ddf965f8 Merge branch 'development' into feature/mem_cast 2021-06-12 11:41:28 +01:00
Jonathan
7212856424 Change debounce state tables to be defined as constant. (#386)
Currently these state tables are being defined in the data section of RAM. As these tables are unchanged, this change allows them to be placed in the text section instead. As they are function local objects, they also get lazy initialized causing references to the dynamic shared object which are unnecessary.
2021-06-10 10:13:06 +01:00
Jonathan
f5c7897ea2
Change debounce state tables to be defined as constant. (#386)
Currently these state tables are being defined in the data section of RAM. As these tables are unchanged, this change allows them to be placed in the text section instead. As they are function local objects, they also get lazy initialized causing references to the dynamic shared object which are unnecessary.
2021-06-10 09:50:55 +01:00
John Wellbelove
2b2a542aa1 Added more static asserts for alignment 2021-06-03 20:45:36 +01:00
John Wellbelove
a2aa6b26c3 Changed comments 2021-06-03 11:44:38 +01:00
John Wellbelove
208d0c4a26 Added/adjusted 'force C++03' unit test macros 2021-06-03 10:56:08 +01:00
John Wellbelove
e2eb6e8650 Added ETL_ASSERT_AND_RETURN and ETL_ASSERT_AND_RETURN_VALUE error macros 2021-06-02 21:34:48 +01:00
John Wellbelove
177c4d1e79 Added 'at_offset' functions.
Changed size for mem_cast_ptr from template parameter fo member variable.
2021-06-02 21:33:08 +01:00
John Wellbelove
e21d3edd6a Initial commit 2021-05-31 15:55:13 +01:00
John Wellbelove
b19471dc8a Updates to mem_cast 2021-05-31 10:00:01 +01:00
John Wellbelove
8af219c0b3 Updates to mem_cast 2021-05-30 12:08:03 +01:00
John Wellbelove
abf8d7bb14 Renamed mem_type to mem_cast 2021-05-27 13:23:15 +01:00
John Wellbelove
a5f6d9f033 Further updates to mem_type 2021-05-27 10:41:20 +01:00
John Wellbelove
380fc59b2b Further updates to mem_type 2021-05-26 22:04:34 +01:00
John Wellbelove
d8777dc2f6 Further updates to mem_type 2021-05-26 11:09:02 +01:00
John Wellbelove
ab7fcbee64 Added experimental uni_type 2021-05-25 23:06:15 +01:00
John Wellbelove
3cbd432a29 Added experimental uni_type 2021-05-25 11:47:25 +01:00
John Wellbelove
84e1241c39 Added experimental uni_type 2021-05-25 11:02:24 +01:00
John Wellbelove
830d0d00f1 Updated QueuedMessageRouter and QueuedFSM examples to use current message frameworks. 20.10.6 2021-05-24 20:08:56 +01:00
John Wellbelove
71e83c1b5e Updated QueuedMessageRouter example. 2021-05-24 19:30:14 +01:00
John Wellbelove
d437377310 Updated QueuedMessageRouter example. 2021-05-24 11:53:09 +01:00
John Wellbelove
67c19bb0dc Fold expression experiment 2021-05-23 20:37:29 +01:00
John Wellbelove
f4060bc9ea Working. No move functionality. 2021-05-23 16:59:10 +01:00
John Wellbelove
34479a3e31 Working. No move functionality. 2021-05-23 16:10:58 +01:00
John Wellbelove
92515111d9 Interim commit 2021-05-22 20:28:40 +01:00
John Wellbelove
c3bef2c493 Interim commit 2021-05-22 17:11:48 +01:00
John Wellbelove
820bc36aa6 Initial commit 2021-05-21 18:05:02 +01:00
Martino Pilia
42546176a9
Fix uninitialised warning in etl::optional (#381)
The constructors of etl::optional with no argument or with etl::nullopt_t
argument do not initalise the storage data member. When compiling with
gcc with some specific optimisation levels, this can generate a
-Wmaybe-uninitialized diagnostic warning.
2021-05-21 17:17:43 +01:00