I made a tiny change in yauclib that has a huge impact: You don't need to include the Microcontroller.cpp file for your architecture anymore. A check for a definition in the main Microcontroller.cpp source file includes the correct architecture-specific version of Microcontroller.cpp for you now. When compiling your program, you only add the main Microcontroller.cpp source file to the list of sources.

More about yauclib:

https://codeberg.org/ncc1988/yauclib

#Yauclib #Microcontroller #SoftwareLibrary #Software

yauclib

yauclib - yet another microcontroller library. This library is an attempt to write device drivers and an abstraction layer for different microcontroller families in C++.

Codeberg.org

A few years ago, I started wondering if there is a way to program an AVR microcontroller without the Arduino IDE which is slow on older computers that I have. This was the starting point for the projects ucmf and yauclib:

While ucmf is a framework for compiling microcontroller projects similar to CMake, yauclib is for hardware abstraction similar to the Arduino software library. Both are in development and only support a few AVR microcontrollers so far (and Arduinos based on them).

I consider ucmf to be ready to use. yauclib still needs a lot of work, especially drivers and hardware-independent interrupt handling mechanisms.

The code for both projects is on Codeberg:

https://codeberg.org/ncc1988/ucmf

https://codeberg.org/ncc1988/yauclib

#ucmf #yauclib #Arduino #AVR #Microcontroller #Software #Programming

ucmf

ucmf (microcontroller make frontend) is a tool to faciliate the compilation of programs for microcontrollers using make.

Codeberg.org