26 Commits

Author SHA1 Message Date
John Wellbelove
0081cfa794 Modified etl::typed_storage 2025-08-26 17:38:46 +01:00
Roland Reichwein
6ed64f7b21
Support const pointers in etl::is_aligned() (#1082)
* Add Zephyr build system module.yml (#1074)

The Zephyr build system requires that modules have a `module.yml` file to specify where the module cmake and kconfig files are located. 
These can also be explicitly set as "external" meaning that they do not exist within the module tree, itself. These build file can still be specified elsewhere via cmake variables, explained more in-depth here: https://docs.zephyrproject.org/latest/develop/modules.html#modules-module-ext-root
This change makes it such that ETL can be included more easily in zephyr projects running on embedded systems. A similar change can be observed in the public nanopb repository, where the repo only requires its own `zephyr/module.yml` file to be found by the zephyr build system, but the kconfig and cmake additions can exist outside of the library repository.

* Support const pointers to etl::is_aligned()

---------

Co-authored-by: Zach Van Camp <marshmilo100@gmail.com>
2025-04-30 12:22:38 +01:00
John Wellbelove
209e8ceedd Added C++03 compatibility 2025-04-12 10:46:27 +01:00
Roland Reichwein
7d91e1f152
Alignment typed storage (#1023)
* Add etl::typed_storage based on etl::aligned_storage_as

* Have create() instead of emplace()
2025-04-02 15:59:37 +01:00
John Wellbelove
11155eb9f1 Fixed alignment functionality 2023-09-27 13:48:53 +01:00
John Wellbelove
79d72a1616 Fix alignas syntax 2023-02-20 11:39:03 +00:00
John Wellbelove
f66a29589e Updated sanity check make files 2023-02-19 12:13:00 +00:00
John Wellbelove
2c15062c1b Added etl::is_aligned, etl::alignment_exception and etl::alignment_error 2023-02-19 10:41:43 +00:00
John Wellbelove
baa47d1c33 Updated copyright notice 2022-06-10 21:45:37 +01:00
John Wellbelove
dbfa71944f Abstracted unit test framework header 2021-03-05 13:52:34 +00:00
John Wellbelove
6144794221 constexpr, template aliases and inline variables 2020-11-30 12:56:46 +00:00
John Wellbelove
0c99ef5282 circular_buffer (no copy or assignment) 2020-10-20 11:02:44 +01:00
John Wellbelove
e323f2267f Changed http://www.etlcpp.com to https://www.etlcpp.com 2020-05-01 10:22:36 +01:00
John Wellbelove
83347ccfdd Work in progress 2020-01-09 11:15:50 +00:00
John Wellbelove
fc50557003 Work in progress 2020-01-04 11:20:29 +00:00
John Wellbelove
bd008350a2 Merge remote-tracking branch 'origin/feature/changed_include_paths' into development
# Conflicts:
#	include/etl/version.h
2018-07-28 21:55:27 +01:00
John Wellbelove
58e155658e Alignment tests for conversion operators 2018-02-08 16:00:05 +00:00
John Wellbelove
26b7326d72 Updated Code::Blocks project.
Changed test project include paths to use unittest++ as sub-module.
2017-05-08 20:48:22 +01:00
John Wellbelove
ff9cfa724b Fixed GCC warnings 2016-12-28 13:20:40 +00:00
John Wellbelove
f1c5c20ba7 Changed folder structure to be compatible with Arduino library specifications 2016-02-28 14:04:22 +00:00
jwellbelove
01ff869fb5 Fixed test compile warnings 2016-01-13 16:10:15 +00:00
John Wellbelove
16a1978f43 Added link to www.etlcpp.com in licence header. 2015-12-16 11:09:56 +00:00
jwellbelove
c0a244cd2f Small modifications to tests.
Changed Keil & IAR tests to use new alignment classes.
2015-03-16 19:18:25 +00:00
jwellbelove
dc2c335610 Complete rewrite of aligned storage functionality and subsequent changes to the containers. 2015-03-15 16:32:22 +00:00
jwellbelove
ae385d5561 Added Github link to copyright notice. 2015-02-22 13:23:18 +00:00
jwellbelove
f105ca0c48 Added new unit tests 2014-12-08 20:20:25 +00:00