From 8557bd031d17515cd060ccece25f4a35989a520e Mon Sep 17 00:00:00 2001 From: Tom Fifield Date: Fri, 13 Jun 2025 10:56:40 +1000 Subject: [PATCH] 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 --- variants/seeed_xiao_nrf52840_kit/variant.h | 1 - 1 file changed, 1 deletion(-) diff --git a/variants/seeed_xiao_nrf52840_kit/variant.h b/variants/seeed_xiao_nrf52840_kit/variant.h index e6ef74e2e..5d45d6ea1 100644 --- a/variants/seeed_xiao_nrf52840_kit/variant.h +++ b/variants/seeed_xiao_nrf52840_kit/variant.h @@ -142,7 +142,6 @@ static const uint8_t SCL = PIN_WIRE_SCL; #define PIN_GPS_RX D6 #define PIN_GPS_TX D7 #define HAS_GPS 1 -#define GPS_BAUDRATE 9600 #define GPS_THREAD_INTERVAL 50 #define PIN_SERIAL1_RX PIN_GPS_TX #define PIN_SERIAL1_TX PIN_GPS_RX