more docs and added the import_config.h file to controlle which c++ libraries are added

This commit is contained in:
ZennDev1337 2023-08-16 09:58:14 +02:00
parent c4f43a0f9d
commit fd48cc36c5
7 changed files with 73 additions and 21 deletions

View file

@ -1,16 +1,6 @@
#pragma once
// Comment out the librarys you dont need.
// This saves memory but be carful if the librarys are not defined
// it will not export the given functions for the rust project.
//
// to save a good amount you can comment out
// the ArduboyTones library if you don't need it.
#define Arduboy2_Library ;
#define ArduboyTones_Library ;
#define EEPROM_Library ;
#define Arduino_Library ;
#include "../../import_config.h"
#if defined(Arduboy2_Library)
#include <Arduboy2.h>