modm API documentation
|
lbuild module: modm:stdc++
Refines the C++ language to make it easier to use on embedded targets. Depending on the module options, the compiler options are appended with either:
-fno-exceptions
: no C++ exceptions.-fno-rtti
: no C++ run-time type information.-fno-threadsafe-statics
: no protection of static variable initialization.or:
-fexceptions
: with C++ exceptions.-frtti
: with C++ run-time type information.The std::atomic
interface is implemented for the AVR and Cortex-M devices.
A partial port of GCC libstdc++ is provided: See https://github.com/modm-io/avr-libstdcpp.
Generated with: yes in [yes, no]
Enables safe initialization of statics inside functions and interrupts. In case of recursive initialization the debug assertion stat.rec
is raised.
Further reading on this topic:
Generated with: yes in [yes, no]