Home

Awesome

DMBS AVR Library Collection

This repository is a collection of libraries for AVR microcontrollers. DMBS is used as primary build system for all libraries. This repository contains new, standalone libraries as well as makefiles for popular external projects like FastLED.

The purpose of this library is to use a clean and modular build system with libraries optimized in size and speed while still being able to use popular Arduino libraries like FastLED, but without any Arduino core.

Benefits

<a href="https://www.buymeacoffee.com/Mnwg9NrCK" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>

Modules Overview

The following modules are currently included:

Usage

In order to build all libraries you need to initialize the submodules for DMBS and other external libraries. The following command can also be used to update all library dependencies.

git submodule update --init --recursive

You then can include the libraries in your DMBS makefile. All sources are already properly added to SRC. All required compiler switches also automatically get applied by including the library makefile.

# Include DMBS build script makefiles
DMBS_PATH    = ../DMBS
LIB_PATH     = ../lib

include $(LIB_PATH)/TIMER0/TIMER0.mk

It is recommended to read each libraries makefile first. It it show you how to setup and use the library and give you additional hints and examples.

Writing Your Own Modules

You can use my libraries as an example or use the guide and template from DMBS directly.