add feather esp32 v2 and qtpy c3 board def (#6223)

* add feather esp32 v2 and qtpy c3 board def
update some pin names
add variant.cpp's to auto-enable i2c, tft, neopixels on boot

* add auto-enable for i2c!
This commit is contained in:
Limor "Ladyada" Fried
2022-02-03 13:10:54 -05:00
committed by GitHub
parent 1046f59f6b
commit bb4d9027dd
8 changed files with 471 additions and 6 deletions

View File

@ -11,14 +11,14 @@
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#define digitalPinHasPWM(p) (p < 34)
static const uint8_t NEOPIXEL = 5;
static const uint8_t PIN_NEOPIXEL = 5;
static const uint8_t NEOPIXEL_POWER = 8;
static const uint8_t TX = 32;
static const uint8_t RX = 7;
static const uint8_t TX1 = 32;
static const uint8_t RX1 = 7;
#define TX1 32
#define RX1 7
static const uint8_t SDA = 25;
static const uint8_t SCL = 33;
@ -43,7 +43,7 @@ static const uint8_t A8 = 14;
static const uint8_t A9 = 12;
static const uint8_t A10 = 13;
static const uint8_t SWITCH = 0;
static const uint8_t BUTTON = 0;
static const uint8_t T0 = 4;
static const uint8_t T3 = 15;