Initial commit

First and incomplete version of the refactor, stage module works, including aborting moves.
This commit is contained in:
Filip Ayazi 2021-05-21 04:32:21 +01:00
commit 2f78522064
16 changed files with 1264 additions and 0 deletions

27
src/config.h Normal file
View file

@ -0,0 +1,27 @@
#ifndef CONFIGURED
//general settings
#define MAX_COMMANDS 50
#define MAX_MODULES 10
#define VERSION_STRING "Sangaboard Firmware v0.6"
#define DEBUG_ON
//module choice
#define HELP
#define STAGE
//module configs
#ifdef STAGE
//TODO: Fix this for platformio
#ifdef ARDUINO_AVR_LEONARDO
#define SANGABOARDv3
#define BOARD_STRING "Sangaboard v0.3"
#elif ARDUINO_AVR_SANGABOARD
#define SANGABOARDv3
#define BOARD_STRING "Sangaboard v0.3"
#else
#define SANGABOARDv2
#define BOARD_STRING "Sangaboard v0.2"
#endif
#endif
#define CONFIGURED
#endif