Remove GPS Baudrate locking for Seeed Xiao NRF52840 Kit (#7016)

The Seeed Xiao NRF52840 Kit's default GPS is an L76K which operates
at 9600 baud, so when this variant was defined that baud rate was
specified.

However, this is a development board and it is expected that users
can attach their own devices. This includes GPS, which may operate
at a different baud rate. The current fixed baud rate prevents this,
so this patch removes that setting.

This will revert to the regular automatic probe method. This will
sucessfully detect the L76K as before (probably the same as before
since 9600 baud is the first baud rate checked), but also allow other
GPSes at other baud rates to be detected.

Fixes https://github.com/meshtastic/firmware/issues/7012

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Tom Fifield 2025-06-13 10:56:40 +10:00 committed by GitHub
parent 4e6418b635
commit 8557bd031d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,7 +142,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
#define PIN_GPS_RX D6 #define PIN_GPS_RX D6
#define PIN_GPS_TX D7 #define PIN_GPS_TX D7
#define HAS_GPS 1 #define HAS_GPS 1
#define GPS_BAUDRATE 9600
#define GPS_THREAD_INTERVAL 50 #define GPS_THREAD_INTERVAL 50
#define PIN_SERIAL1_RX PIN_GPS_TX #define PIN_SERIAL1_RX PIN_GPS_TX
#define PIN_SERIAL1_TX PIN_GPS_RX #define PIN_SERIAL1_TX PIN_GPS_RX