Support HW serial in v5, clean up config
This commit is contained in:
parent
351e5a6b7a
commit
0f4e4b5289
7 changed files with 44 additions and 36 deletions
17
src/config.h
17
src/config.h
|
|
@ -1,24 +1,19 @@
|
|||
#ifndef CONFIGURED
|
||||
//board choice
|
||||
//#define BOARD_AUTO
|
||||
//#define BOARD_SANGABOARDv3
|
||||
//#define BOARD_SANGABOARDv2
|
||||
#define BOARD_SANGABOARDv5
|
||||
//#define BOARD_CUSTOM_ESP32
|
||||
//#define BOARD_CUSTOM_PICO
|
||||
#define BOARD_AUTO
|
||||
//#define BOARD_SANGABOARDv5
|
||||
|
||||
//default to USB serial for now
|
||||
//#define SERIAL_PORT PiSerial
|
||||
#define SERIAL_PORT Serial
|
||||
//without this, default to HW serial where available
|
||||
//the details are board specific and configured in boards.h
|
||||
//#define USB_SERIAL
|
||||
|
||||
//#define BOARD_CUSTOM
|
||||
#include <boards.h> //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 v0.4" //temporary hack
|
||||
#define VERSION_STRING "Sangaboard Firmware v1.0-beta"
|
||||
#define DEBUG_ON
|
||||
|
||||
//module choice
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue