gps: serial pin and configuration fixes (nrf52, meshadventurer, tracker_v1, heltec_tracker)

This commit is contained in:
Florent committed 2026-11-08 08:47:34 -04:00
1 parent bd21096ce0
commit a134188c62
11 files changed
+48 -72

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ build_flags =
-D SX126X_DIO2_AS_RF_SWITCH=false
-D SX126X_DIO3_TCXO_VOLTAGE=1.8
-D SX126X_RX_BOOSTED_GAIN=1
-D PIN_GPS_RX=12
-D PIN_GPS_TX=15
-D PIN_GPS_TX=12 ; GPS module TX -> MCU RX (GPIO12)
-D PIN_GPS_RX=15 ; GPS module RX <- MCU TX (GPIO15)
-D DISPLAY_CLASS=SSD1306Display
build_src_filter = ${esp32_base.build_src_filter}
+<../variants/meshadventurer>
+1 -3
View File
@@ -48,9 +48,7 @@ void MASensorManager::stop_gps() {
}
bool MASensorManager::begin() {
Serial1.setPins(PIN_GPS_RX, PIN_GPS_TX);
Serial1.begin(9600);
delay(500);
// the GPS UART (pins, baud rate) is now configured by gps_driver when the GPS is started
return true;
}