From 5d13314853d81eaeab1e16942df11f75fd1615dc Mon Sep 17 00:00:00 2001 From: Jacob Morris Date: Fri, 24 Oct 2025 21:29:53 -0600 Subject: [PATCH] Registers GPIO3 and GPIO4 for secondary I2C bus Resolves meshtastic/firmware#8417 Given pins 41 and 42 are used for GPS on this version it would seem using those pins, though drop in compatible with the V3 board, would render the GNSS socket unusable unless one used the inconvenient OLED pins on the forward edge of the board. --- variants/esp32s3/heltec_v4/variant.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/variants/esp32s3/heltec_v4/variant.h b/variants/esp32s3/heltec_v4/variant.h index 1c9516e39..6a7b64f84 100644 --- a/variants/esp32s3/heltec_v4/variant.h +++ b/variants/esp32s3/heltec_v4/variant.h @@ -6,6 +6,10 @@ #define I2C_SDA 17 // I2C pins for this board #define I2C_SCL 18 +// Enable secondary bus for external periherals +#define I2C_SDA1 SDA +#define I2C_SCL1 SCL + #define VEXT_ENABLE 36 // active low, powers the oled display and the lora antenna boost #define BUTTON_PIN 0