Skip to content

tylibs/etlcpp

Repository files navigation

Using Embedded Template Library (ETL)

C++ is a great language to use for embedded applications and templates are a powerful aspect. The standard library can offer a great deal of well tested functionality, but there are some parts of the standard library that do not fit well with deterministic behaviour and limited resource requirements. These limitations usually preclude the use of dynamically allocated memory and containers with open ended sizes.

What is needed is a template library where the user can declare the size, or maximum size of any object upfront. Most embedded compilers do not currently support the standard beyond C++ 03, therefore excluding the programmer from using the enhanced features of the later library.

Documentation: ETLCPP

This repository provides ESP-IDF and Zephyr implementations.

Installing

ESP-IDF

You can use the component from the Component Registry, or clone the repository to your components folder

Zephyr / Nordic Connect SDK

Clone the repository to your local MODULE_EXT_ROOT directory, have a look at Zephyr Modules

Using ETL

Have a look at the example code: hello_world

Contributing

We welcome contributions in the form of code, bug reports, and feedback.

Contact

Join the conversation on:

About

Embedded Template Library (ETL) Component

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published