sangaboard v5 basic support

This commit is contained in:
Filip Ayazi 2022-09-03 21:59:29 +01:00
parent 48015c716c
commit dfd4a99f1f
3 changed files with 47 additions and 6 deletions

View file

@ -1,8 +1,16 @@
#ifndef CONFIGURED
//board choice
#define BOARD_AUTO
//#define BOARD_AUTO
//#define BOARD_SANGABOARDv3
//#define BOARD_SANGABOARDv2
#define BOARD_SANGABOARDv5
//#define BOARD_CUSTOM_ESP32
//#define BOARD_CUSTOM_PICO
//default to USB serial for now
//#define SERIAL_PORT PiSerial
#define SERIAL_PORT Serial
//#define BOARD_CUSTOM
#include <boards.h> //defines wiring
@ -10,7 +18,7 @@
#define MAX_COMMANDS 50
#define MAX_MODULES 10
#define MAX_ARGUMENT_LENGTH 20 //used in argument parsing, takes up ram
#define VERSION_STRING "Sangaboard Firmware v1.0-beta"
#define VERSION_STRING "Sangaboard Firmware v0.4" //temporary hack
#define DEBUG_ON
//module choice
@ -18,6 +26,8 @@
#define STAGE
// #define ENDSTOPS
// #define LIGHT_SENSOR
// #define STEPSTICK
// #define ILLUMINATION
//module configs
#ifdef STAGE