Skip to content

Commit 1872ce3

Browse files
committed
feat: add support for the XIAO ESPXX series
1 parent 719bff1 commit 1872ce3

11 files changed

+1597
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.vscode
2+
13
# Windows image file caches
24
Thumbs.db
35
ehthumbs.db

Processors/TFT_eSPI_ESP32_C3.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ SPI3_HOST = 2
6868
*/
6969

7070
// ESP32 specific SPI port selection - only SPI2_HOST available on C3
71-
#define SPI_PORT SPI2_HOST
71+
#if ESP_ARDUINO_VERSION_MAJOR < 3
72+
#define SPI_PORT SPI2_HOST
73+
#else
74+
#define SPI_PORT 2
75+
#endif
7276

7377
#ifdef RPI_DISPLAY_TYPE
7478
#define CMD_BITS (16-1)

0 commit comments

Comments
 (0)