Simplified configuration
I've moved SUPPORT_EEPROM into boards.h because that seemed simplest. I've removed a bit of logic related to serial ports, because we now just listen on both if there is more than one, using PRIMARY_SERIAL_PORT and SECONDARY_SERIAL_PORT in boards.h. I've deleted the `picohw` environment because it's no longer necessary.
This commit is contained in:
parent
8a18c1444c
commit
d9e7c1429a
3 changed files with 3 additions and 24 deletions
10
src/config.h
10
src/config.h
|
|
@ -3,12 +3,6 @@
|
|||
#define BOARD_AUTO
|
||||
//#define BOARD_SANGABOARDv5
|
||||
|
||||
//if HW_SERIAL is not defined, we'll use USB serial communication
|
||||
//the details are board specific and configured in boards.h
|
||||
#ifndef HW_SERIAL
|
||||
#define USB_SERIAL
|
||||
#endif
|
||||
|
||||
#include <boards.h> //defines wiring
|
||||
|
||||
//general settings
|
||||
|
|
@ -44,9 +38,5 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue