Enable EEPROM support for pico and ATMEGA boards
This commit is contained in:
parent
3e4b3e97eb
commit
28f7b538f0
1 changed files with 5 additions and 0 deletions
|
|
@ -31,6 +31,7 @@
|
||||||
#define PRIMARY_SERIAL_PORT Serial
|
#define PRIMARY_SERIAL_PORT Serial
|
||||||
#define PWM_NUM 0
|
#define PWM_NUM 0
|
||||||
#define WIRING_PWM_LEDS {}
|
#define WIRING_PWM_LEDS {}
|
||||||
|
#define SUPPORT_EEPROM
|
||||||
#elif defined(BOARD_SANGABOARDv2)
|
#elif defined(BOARD_SANGABOARDv2)
|
||||||
#define BOARD_STRING "Sangaboard v0.2"
|
#define BOARD_STRING "Sangaboard v0.2"
|
||||||
#define WIRING_MOTOR_X 13, 12, 11, 10
|
#define WIRING_MOTOR_X 13, 12, 11, 10
|
||||||
|
|
@ -43,6 +44,7 @@
|
||||||
#define PRIMARY_SERIAL_PORT Serial
|
#define PRIMARY_SERIAL_PORT Serial
|
||||||
#define PWM_NUM 0
|
#define PWM_NUM 0
|
||||||
#define WIRING_PWM_LEDS {}
|
#define WIRING_PWM_LEDS {}
|
||||||
|
#define SUPPORT_EEPROM
|
||||||
#elif defined(BOARD_CUSTOM_BLUEPILL)
|
#elif defined(BOARD_CUSTOM_BLUEPILL)
|
||||||
#define BOARD_STRING "Custom Bluepill board"
|
#define BOARD_STRING "Custom Bluepill board"
|
||||||
#define WIRING_MOTOR_X PB11, PB10, PB1, PB0
|
#define WIRING_MOTOR_X PB11, PB10, PB1, PB0
|
||||||
|
|
@ -70,6 +72,7 @@
|
||||||
#define PRIMARY_SERIAL_PORT Serial
|
#define PRIMARY_SERIAL_PORT Serial
|
||||||
#define PWM_NUM 0
|
#define PWM_NUM 0
|
||||||
#define WIRING_PWM_LEDS {}
|
#define WIRING_PWM_LEDS {}
|
||||||
|
#define SUPPORT_EEPROM
|
||||||
#elif defined(BOARD_SANGABOARDv5)
|
#elif defined(BOARD_SANGABOARDv5)
|
||||||
#define BOARD_STRING "Sangaboard v0.5"
|
#define BOARD_STRING "Sangaboard v0.5"
|
||||||
#define WIRING_MOTOR_X 2, 3, 4, 5
|
#define WIRING_MOTOR_X 2, 3, 4, 5
|
||||||
|
|
@ -94,6 +97,7 @@
|
||||||
#define WIRING_PWM_LEDS {25, 29}
|
#define WIRING_PWM_LEDS {25, 29}
|
||||||
#define WIRING_CC_LED 24
|
#define WIRING_CC_LED 24
|
||||||
//TODO: 4th motor support
|
//TODO: 4th motor support
|
||||||
|
#define SUPPORT_EEPROM
|
||||||
#elif defined(BOARD_CUSTOM_ESP32)
|
#elif defined(BOARD_CUSTOM_ESP32)
|
||||||
#define BOARD_STRING "Custom ESP32 board"
|
#define BOARD_STRING "Custom ESP32 board"
|
||||||
#define WIRING_MOTOR_X 34, 32, 25, 27
|
#define WIRING_MOTOR_X 34, 32, 25, 27
|
||||||
|
|
@ -122,4 +126,5 @@
|
||||||
#define PRIMARY_SERIAL_PORT Serial
|
#define PRIMARY_SERIAL_PORT Serial
|
||||||
#define PWM_NUM 0
|
#define PWM_NUM 0
|
||||||
#define WIRING_PWM_LEDS {}
|
#define WIRING_PWM_LEDS {}
|
||||||
|
#define SUPPORT_EEPROM
|
||||||
#endif
|
#endif
|
||||||
Loading…
Add table
Add a link
Reference in a new issue