Skip to content
/ ZeroOverheadCPP Public template

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

License

Notifications You must be signed in to change notification settings

andi-makes/ZeroOverheadCPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published