avr-libstdcpp icon indicating copy to clipboard operation
avr-libstdcpp copied to clipboard

Subset of the C++ standard library for AVR targets

Results 9 avr-libstdcpp issues
Sort by recently updated
recently updated
newest added

There is an ongoing project to increase the parts of the C++ Standard Library that are available for freestanding implementations, i.e. those with no OS, so no I/O and no...

Add the C++20 header `` or a subset thereof, which (st least for a partial implementation) is very simple.

enhancement

This is an experimental ticket. Several important domains _still_ use `avr-gcc` 5.2, 5.3, or 5.4. We do, however, find that at least one compiler-intrinsic (i.e., `__is_constructible` used often in ``)...

Re-instate https://github.com/modm-io/avr-libstdcpp/commit/1e245c13f7f09f2469f123e5a58c1e8d082a6825, which was removed as part of https://github.com/modm-io/avr-libstdcpp/commit/4fd647b07f4a87242ee378df303401fbfbe45e00. This provides support for avr-gcc 7.x: this is the gcc version that Arduino ships with, so it's a popular platform.

I'm adding the cleaned up modm implementation of the atomics based on a critical section. - [x] Complete atomic builtins implementation - [ ] More interesting example - [ ]...

Test case: ```c++ #include std::vector v; int main (void) { v.push_back (1); } ``` Invocation: ```none $ avr-g++-15 -mmcu=atmega128 -Os main.cpp -I$DIR/include $DIR/examples/common/new.cpp $DIR/examples/common/cxxabi.cpp -fno-exceptions -std=c++17 ``` where `$DIR` denotes...

As it seems, this library is not compatible with `-mdouble=64`, which is enabled in the default conrigurations since v10, see * https://gcc.gnu.org/gcc-10/changes.html#avr * https://gcc.gnu.org/onlinedocs/gcc/AVR-Options.html#index-mdouble