Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2981bde

Browse filesBrowse files
ladyadacaternusonkattnijeplerhathach
authored
Add some more adafruit boards and fix some board typos (espressif#6014)
Co-authored-by: caternuson <caternuson@gmail.com> Co-authored-by: Kattni Rembor <kattni@adafruit.com> Co-authored-by: Jeff Epler <jeff@adafruit.com> Co-authored-by: Jeff Epler <jepler@gmail.com> Co-authored-by: Ha Thach <thach@tinyusb.org>
1 parent 6d400df commit 2981bde
Copy full SHA for 2981bde

File tree

Expand file treeCollapse file tree

12 files changed

+482
-28
lines changed
Filter options
Expand file treeCollapse file tree

12 files changed

+482
-28
lines changed

‎boards.txt

Copy file name to clipboardExpand all lines: boards.txt
+327Lines changed: 327 additions & 0 deletions
Large diffs are not rendered by default.

‎variants/adafruit_feather_esp32s2/pins_arduino.h

Copy file name to clipboardExpand all lines: variants/adafruit_feather_esp32s2/pins_arduino.h
+4-9Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,13 @@ static const uint8_t A4 = 14;
4242
static const uint8_t A5 = 8;
4343

4444

45+
static const uint8_t TX = 39;
46+
static const uint8_t RX = 38;
47+
#define TX1 TX
48+
#define RX1 RX
4549

46-
47-
static const uint8_t TX = 43;
48-
static const uint8_t RX = 44;
49-
50-
static const uint8_t T1 = 1;
51-
static const uint8_t T2 = 2;
52-
static const uint8_t T3 = 3;
53-
static const uint8_t T4 = 4;
5450
static const uint8_t T5 = 5;
5551
static const uint8_t T6 = 6;
56-
static const uint8_t T7 = 7;
5752
static const uint8_t T8 = 8;
5853
static const uint8_t T9 = 9;
5954
static const uint8_t T10 = 10;
Binary file not shown.
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ESP-IDF Partition Table
2+
# Name, Type, SubType, Offset, Size, Flags
3+
# bootloader.bin,, 0x1000, 32K
4+
# partition table, 0x8000, 4K
5+
6+
nvs, data, nvs, 0x9000, 20K,
7+
otadata, data, ota, 0xe000, 8K,
8+
ota_0, 0, ota_0, 0x10000, 1408K,
9+
ota_1, 0, ota_1, 0x170000, 1408K,
10+
uf2, app, factory,0x2d0000, 256K,
11+
ffat, data, fat, 0x310000, 960K,
+67Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
7+
#define USB_VID 0x239A
8+
#define USB_PID 0x810F
9+
#define USB_MANUFACTURER "Adafruit"
10+
#define USB_PRODUCT "Feather ESP32-S2 TFT"
11+
#define USB_SERIAL "" // Empty string for MAC adddress
12+
13+
14+
#define EXTERNAL_NUM_INTERRUPTS 46
15+
#define NUM_DIGITAL_PINS 48
16+
#define NUM_ANALOG_INPUTS 20
17+
18+
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
19+
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
20+
#define digitalPinHasPWM(p) (p < 46)
21+
22+
#define LED_BUILTIN 13
23+
24+
#define PIN_NEOPIXEL 33
25+
#define NEOPIXEL_NUM 1 // number of neopixels
26+
#define NEOPIXEL_POWER 34 // power pin
27+
#define NEOPIXEL_POWER_ON HIGH // power pin state when on
28+
29+
#define TFT_CS 42
30+
#define TFT_RST 41
31+
#define TFT_DC 40
32+
#define TFT_BACKLITE 45
33+
34+
static const uint8_t SDA = 42;
35+
static const uint8_t SCL = 41;
36+
37+
static const uint8_t SS = 21;
38+
static const uint8_t MOSI = 35;
39+
static const uint8_t SCK = 36;
40+
static const uint8_t MISO = 37;
41+
42+
static const uint8_t A0 = 18;
43+
static const uint8_t A1 = 17;
44+
static const uint8_t A2 = 16;
45+
static const uint8_t A3 = 15;
46+
static const uint8_t A4 = 14;
47+
static const uint8_t A5 = 8;
48+
49+
static const uint8_t TX = 1;
50+
static const uint8_t RX = 2;
51+
52+
static const uint8_t T1 = 1;
53+
static const uint8_t T2 = 2;
54+
static const uint8_t T5 = 5;
55+
static const uint8_t T6 = 6;
56+
static const uint8_t T8 = 8;
57+
static const uint8_t T9 = 9;
58+
static const uint8_t T10 = 10;
59+
static const uint8_t T11 = 11;
60+
static const uint8_t T12 = 12;
61+
static const uint8_t T13 = 13;
62+
static const uint8_t T14 = 14;
63+
64+
static const uint8_t DAC1 = 17;
65+
static const uint8_t DAC2 = 18;
66+
67+
#endif /* Pins_Arduino_h */
Binary file not shown.

‎variants/adafruit_funhouse_esp32s2/pins_arduino.h

Copy file name to clipboardExpand all lines: variants/adafruit_funhouse_esp32s2/pins_arduino.h
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ static const uint8_t A3 = 18; // light sensor
6161
static const uint8_t TX = 43;
6262
static const uint8_t RX = 44;
6363

64-
static const uint8_t T1 = 1;
65-
static const uint8_t T2 = 2;
66-
static const uint8_t T3 = 3;
67-
static const uint8_t T4 = 4;
68-
static const uint8_t T5 = 5;
6964
static const uint8_t T6 = 6;
7065
static const uint8_t T7 = 7;
7166
static const uint8_t T8 = 8;
@@ -74,7 +69,6 @@ static const uint8_t T10 = 10;
7469
static const uint8_t T11 = 11;
7570
static const uint8_t T12 = 12;
7671
static const uint8_t T13 = 13;
77-
static const uint8_t T14 = 14;
7872

7973
static const uint8_t DAC1 = 17;
8074
static const uint8_t DAC2 = 18;

‎variants/adafruit_magtag29_esp32s2/pins_arduino.h

Copy file name to clipboardExpand all lines: variants/adafruit_magtag29_esp32s2/pins_arduino.h
+1-13Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,8 @@ static const uint8_t A18 = 19;
8787
static const uint8_t A19 = 20;
8888

8989

90-
static const uint8_t T1 = 1;
91-
static const uint8_t T2 = 2;
92-
static const uint8_t T3 = 3;
93-
static const uint8_t T4 = 4;
94-
static const uint8_t T5 = 5;
95-
static const uint8_t T6 = 6;
96-
static const uint8_t T7 = 7;
97-
static const uint8_t T8 = 8;
98-
static const uint8_t T9 = 9;
9990
static const uint8_t T10 = 10;
100-
static const uint8_t T11 = 11;
101-
static const uint8_t T12 = 12;
102-
static const uint8_t T13 = 13;
103-
static const uint8_t T14 = 14;
91+
10492

10593
static const uint8_t DAC1 = 17;
10694
static const uint8_t DAC2 = 18;
21.9 KB
Binary file not shown.
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ESP-IDF Partition Table
2+
# Name, Type, SubType, Offset, Size, Flags
3+
# bootloader.bin,, 0x1000, 32K
4+
# partition table, 0x8000, 4K
5+
6+
nvs, data, nvs, 0x9000, 20K,
7+
otadata, data, ota, 0xe000, 8K,
8+
ota_0, 0, ota_0, 0x10000, 1408K,
9+
ota_1, 0, ota_1, 0x170000, 1408K,
10+
uf2, app, factory,0x2d0000, 256K,
11+
ffat, data, fat, 0x310000, 960K,
+61Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
7+
#define USB_VID 0x239A
8+
#define USB_PID 0x8111
9+
#define USB_MANUFACTURER "Adafruit"
10+
#define USB_PRODUCT "QT Py ESP32-S2"
11+
#define USB_SERIAL "" // Empty string for MAC adddress
12+
13+
14+
#define EXTERNAL_NUM_INTERRUPTS 46
15+
#define NUM_DIGITAL_PINS 48
16+
#define NUM_ANALOG_INPUTS 20
17+
18+
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
19+
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
20+
#define digitalPinHasPWM(p) (p < 46)
21+
22+
//#define LED_BUILTIN 13
23+
24+
#define PIN_NEOPIXEL 39
25+
#define NEOPIXEL_NUM 1 // number of neopixels
26+
#define NEOPIXEL_POWER 38 // power pin
27+
#define NEOPIXEL_POWER_ON HIGH // power pin state when on
28+
29+
static const uint8_t SDA = 7;
30+
static const uint8_t SCL = 6;
31+
32+
static const uint8_t SDA1 = 41;
33+
static const uint8_t SCL1 = 40;
34+
35+
static const uint8_t SS = 42;
36+
static const uint8_t MOSI = 35;
37+
static const uint8_t SCK = 34;
38+
static const uint8_t MISO = 33;
39+
40+
static const uint8_t A0 = 18;
41+
static const uint8_t A1 = 17;
42+
static const uint8_t A2 = 9;
43+
static const uint8_t A3 = 8;
44+
static const uint8_t A4 = 7;
45+
static const uint8_t A5 = 6;
46+
static const uint8_t A6 = 5;
47+
static const uint8_t A7 = 16;
48+
49+
static const uint8_t TX = 5;
50+
static const uint8_t RX = 16;
51+
52+
static const uint8_t T5 = 5;
53+
static const uint8_t T6 = 6;
54+
static const uint8_t T7 = 7;
55+
static const uint8_t T8 = 8;
56+
static const uint8_t T9 = 9;
57+
58+
static const uint8_t DAC1 = 17;
59+
static const uint8_t DAC2 = 18;
60+
61+
#endif /* Pins_Arduino_h */
130 KB
Binary file not shown.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.