Skip to content

Commit cb3dba6

Browse files
committed
Fixed CI failures due to I2C and SPI pin definitions
1 parent 3f44add commit cb3dba6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

variants/waveshare_esp32_s3_zero/pins_arduino.h

+10
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ static const uint8_t OUTPUT_IO11 = 11;
2727
static const uint8_t OUTPUT_IO12 = 12;
2828
static const uint8_t OUTPUT_IO13 = 13;
2929

30+
// Def for I2C that shares the IMU I2C pins
31+
static const uint8_t SDA = -1;
32+
static const uint8_t SCL = -1;
33+
34+
// Mapping based on the ESP32S3 data sheet - alternate for SPI2
35+
static const uint8_t SS = 34; // FSPICS0
36+
static const uint8_t MOSI = 35; // FSPID
37+
static const uint8_t MISO = 37; // FSPIQ
38+
static const uint8_t SCK = 36; // FSPICLK
39+
3040
// UART0 pins
3141
static const uint8_t TX = 43;
3242
static const uint8_t RX = 44;

0 commit comments

Comments
 (0)