From 2dd1e830badfe435d68ac8ec1514cf7bb5f2b325 Mon Sep 17 00:00:00 2001 From: Maze X Date: Fri, 27 Mar 2026 17:17:09 +0100 Subject: [PATCH] Add comprehensive pin definitions for Heltec V3 (renamed to SOC_PIN_*/GPS_PIN_*) --- hardware/heltec/v3/platformio.ini | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/hardware/heltec/v3/platformio.ini b/hardware/heltec/v3/platformio.ini index 7a51b04..7546f6d 100644 --- a/hardware/heltec/v3/platformio.ini +++ b/hardware/heltec/v3/platformio.ini @@ -11,3 +11,21 @@ build_flags = -DLORA_PIN_DIO1=14 -DLORA_PIN_RESET=12 -DLORA_PIN_BUSY=13 + ; SX1262 RF switch and tuning + -DSX126X_DIO2_AS_RF_SWITCH=true + -DSX126X_DIO3_TCXO_VOLTAGE=1.8 + -DSX126X_CURRENT_LIMIT=140 + -DSX126X_RX_BOOSTED_GAIN=1 + ; GPIO + -DPIN_USER_BTN=0 + -DPIN_VEXT_EN=36 + -DLORA_TX_LED=35 + ; I2C (SoC pins) + -DSOC_PIN_SDA=17 + -DSOC_PIN_SCL=18 + ; GPS + -DGPS_PIN_RX=47 + -DGPS_PIN_TX=48 + -DGPS_PIN_EN=26 + ; TX power + -DLORA_TX_POWER=22