Support for XIAO ESP32S3

This commit is contained in:
Mark Qvist 2025-04-13 00:11:21 +02:00
parent 6ae99dccb0
commit 7d868b4db6
7 changed files with 59 additions and 66 deletions

View file

@ -85,6 +85,12 @@
#define SCL_OLED 18
#define SDA_OLED 17
#define DISP_CUSTOM_ADDR false
#elif BOARD_MODEL == BOARD_XIAO_S3
#define DISP_RST -1
#define DISP_ADDR 0x3C
#define SCL_OLED 6
#define SDA_OLED 5
#define DISP_CUSTOM_ADDR true
#else
#define DISP_RST -1
#define DISP_ADDR 0x3C
@ -278,6 +284,8 @@ bool display_init() {
#endif
#elif BOARD_MODEL == BOARD_TBEAM_S_V1
Wire.begin(SDA_OLED, SCL_OLED);
#elif BOARD_MODEL == BOARD_XIAO_S3
Wire.begin(SDA_OLED, SCL_OLED);
#endif
#if HAS_EEPROM