Some development utilities for avr development in C/C using avr-g . This project is not supposed to be a complete STL implementation, but it should get you started. Most of this is a header only, but stuff like enabling purely and deleted virtual functions have been done via an implementation file.
Please take note of the GPL3 license. This means that if you distribute your project, it should be licensed with a GPL3 compatible license. If you use this for personal use, then no worries.
my blog has extensive explanations of how the various utilities work. If you have any questions, please read that first.
Here is a list of related posts:
- new & delete
- avr memory model (just some background, for understanding everything)
- smart pointers
- type traits
- ??
Make sure that you have avr-g
installed.
You simply include whatever you need from the include
directory.
This is (mostly) a header only library,
but you can choose to compile the new
, delete
and purely virtual implementations via CMake.
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=RELEASE
make