fix GPS for T-Watch S3 plus (#9312)

* support T-Watch S3 Plus GPS

* HAS_GPS

* define BUTTON_PIN

* swap GPS pins, USB_MODE=1
This commit is contained in:
Manuel
2026-01-14 10:01:08 -06:00
committed by GitHub
co-authored by GitHub
parent d1ae131502
commit 940b3e236b
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
"-DBOARD_HAS_PSRAM", "-DBOARD_HAS_PSRAM",
"-DT_WATCH_S3", "-DT_WATCH_S3",
"-DARDUINO_USB_CDC_ON_BOOT=1", "-DARDUINO_USB_CDC_ON_BOOT=1",
"-DARDUINO_USB_MODE=0", "-DARDUINO_USB_MODE=1",
"-DARDUINO_RUNNING_CORE=1", "-DARDUINO_RUNNING_CORE=1",
"-DARDUINO_EVENT_RUNNING_CORE=1" "-DARDUINO_EVENT_RUNNING_CORE=1"
], ],
+5 -2
View File
@@ -53,10 +53,13 @@
#define HAS_BMA423 1 #define HAS_BMA423 1
#define BMA4XX_INT 14 // Interrupt for BMA_423 axis sensor #define BMA4XX_INT 14 // Interrupt for BMA_423 axis sensor
#define HAS_GPS 1
#define GPS_DEFAULT_NOT_PRESENT 1 #define GPS_DEFAULT_NOT_PRESENT 1
#define GPS_BAUDRATE 38400 #define GPS_BAUDRATE 38400
#define GPS_RX_PIN 42 #define GPS_RX_PIN 41
#define GPS_TX_PIN 41 #define GPS_TX_PIN 42
#define BUTTON_PIN 0 // only for Plus version
#define USE_SX1262 #define USE_SX1262
#define USE_SX1268 #define USE_SX1268