Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.13 KB

README.md

File metadata and controls

39 lines (33 loc) · 1.13 KB

ZeroOverheadCPP

Exploring the concept of Zero Overhead C++ in Microcontrollers.

Setup

Folder Structure

  • app: The program files implementing some kind of blink program
  • bin: The resulting binary files. I only commit the .lss files, not the .elf nor the .hex nor the .map files.
  • build: See Building
  • lib: The zero overhead library

Basic Concept of ZOL

The basic concept is that the compiler produces the same Assembler Code for the C and the C++ program.

Building

Please execute the following commands:

mkdir build
cd build
cmake ..
cmake --build .

You'll find the compiled output files in the bin folder.

Goals

Provide similar functionality to the Arduino Libraries. Have a nice API. Be as fast as C.

ToDos:

Basically, the headings from the Arduino Reference.

  • Digital I/O
  • Analog I/O
  • Time
  • Math
  • Trigonometry
  • Random
  • Communication