Exploring the concept of Zero Overhead C++ in Microcontrollers.
app
: The program files implementing some kind of blink programbin
: The resulting binary files. I only commit the.lss
files, not the.elf
nor the.hex
nor the.map
files.build
: See Buildinglib
: The zero overhead library
The basic concept is that the compiler produces the same Assembler Code for the C
and the C++
program.
Please execute the following commands:
mkdir build
cd build
cmake ..
cmake --build .
You'll find the compiled output files in the bin
folder.
Provide similar functionality to the Arduino
Libraries. Have a nice API. Be as fast as C
.
Basically, the headings from the Arduino Reference.
- Digital I/O
- Analog I/O
- Time
- Math
- Trigonometry
- Random
- Communication