#ifndef CONFIGURED //board choice #define BOARD_AUTO //#define BOARD_SANGABOARDv5 //without this, default to HW serial where available //the details are board specific and configured in boards.h #define USB_SERIAL #include //defines wiring //general settings #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 DEBUG_ON //module choice #define HELP #define STAGE // #define ENDSTOPS // #define LIGHT_SENSOR // #define STEPSTICK #define ILLUMINATION //module configs #ifdef STAGE #define STAGE_N_MOTORS 3 #endif #ifdef ENDSTOPS #define ENDSTOPS_MIN //#define ENDSTOPS_MAX #if defined(ENDSTOPS_MIN) || defined(ENDSTOPS_MAX) //endstops are closed when the pin is down by default, this inverts the behaviour //soft endstops trigger when 0/MAX is reached in the direction without endstops #define ENDSTOPS_SOFT #endif #endif #define LIGHT_SENSOR_ADAFRUIT_TSL2591 //#define LIGHT_SENSOR_ADAFRUIT_ADS1115 //config for non-standard platforms #ifndef MCU_PICO #define SUPPORT_EEPROM #endif #define CONFIGURED #endif