From ad55b84ff21583399182a6202b4142b9f27b3743 Mon Sep 17 00:00:00 2001 From: lewisxhe Date: Mon, 23 Dec 2024 09:06:31 +0800 Subject: [PATCH] T-Beam v1.2 skips L76K https://github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series/issues/212 --- .gitignore | 1 + examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.cpp | 4 ++++ examples/ArduinoLoRa/LoRaSender/LoRaBoards.cpp | 4 ++++ examples/BPFFactory/LoRaBoards.cpp | 4 ++++ examples/Display/Free_Font_Demo/LoRaBoards.cpp | 4 ++++ examples/Display/TBeam_TFT_Shield/LoRaBoards.cpp | 4 ++++ examples/Display/TFT_Char_times/LoRaBoards.cpp | 4 ++++ examples/Display/UTFT_demo/LoRaBoards.cpp | 4 ++++ examples/Factory/LoRaBoards.cpp | 4 ++++ examples/GPS/TinyGPS_Example/LoRaBoards.cpp | 4 ++++ examples/GPS/TinyGPS_FullExample/LoRaBoards.cpp | 4 ++++ examples/GPS/TinyGPS_KitchenSink/LoRaBoards.cpp | 4 ++++ examples/GPS/UBlox_BasicNMEARead/LoRaBoards.cpp | 4 ++++ examples/GPS/UBlox_NMEAParsing/LoRaBoards.cpp | 4 ++++ examples/GPS/UBlox_OutputRate/LoRaBoards.cpp | 4 ++++ examples/GPS/UBlox_Recovery/LoRaBoards.cpp | 4 ++++ examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.cpp | 4 ++++ examples/LoRaWAN/LoRaWAN_ABP/LoRaBoards.cpp | 4 ++++ examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.cpp | 4 ++++ examples/OLED/SH1106FontUsage/LoRaBoards.cpp | 4 ++++ examples/OLED/SH1106GraphicsTest/LoRaBoards.cpp | 4 ++++ examples/OLED/SH1106IconMenu/LoRaBoards.cpp | 4 ++++ examples/OLED/SH1106PrintUTF8/LoRaBoards.cpp | 4 ++++ examples/OLED/SSD1306SimpleDemo/LoRaBoards.cpp | 4 ++++ examples/OLED/SSD1306UiDemo/LoRaBoards.cpp | 4 ++++ examples/PMU/LoRaBoards.cpp | 4 ++++ examples/RadioLibExamples/Receive_Interrupt/LoRaBoards.cpp | 4 ++++ examples/RadioLibExamples/Transmit_Interrupt/LoRaBoards.cpp | 4 ++++ examples/Sensor/BME280_AdvancedsettingsExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/BME280_TestExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/BME280_UnifiedExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/PCF8563_AlarmByUnits/LoRaBoards.cpp | 4 ++++ examples/Sensor/PCF8563_SimpleTime/LoRaBoards.cpp | 4 ++++ examples/Sensor/PCF8563_TimeLib/LoRaBoards.cpp | 4 ++++ examples/Sensor/PCF8563_TimeSynchronization/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMC6310_CalibrateExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMC6310_CompassExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMC6310_GetDataExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMC6310_GetPolarExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_BlockExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_GetDataExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_InterruptBlockExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_InterruptExample/LoRaBoards.cpp | 4 ++++ .../Sensor/QMI8658_LockingMechanismExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_MadgwickAHRS/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_PedometerExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_ReadFromFifoExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_WakeOnMotion/LoRaBoards.cpp | 4 ++++ examples/T3S3Factory/LoRaBoards.cpp | 4 ++++ examples/TBeamFactory/LoRaBoards.cpp | 4 ++++ 50 files changed, 197 insertions(+) diff --git a/.gitignore b/.gitignore index 2ca4b91..8ea3bd3 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ test script build LilyGoLoRaBoard +record.* \ No newline at end of file diff --git a/examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.cpp b/examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.cpp +++ b/examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/ArduinoLoRa/LoRaSender/LoRaBoards.cpp b/examples/ArduinoLoRa/LoRaSender/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/ArduinoLoRa/LoRaSender/LoRaBoards.cpp +++ b/examples/ArduinoLoRa/LoRaSender/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/BPFFactory/LoRaBoards.cpp b/examples/BPFFactory/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/BPFFactory/LoRaBoards.cpp +++ b/examples/BPFFactory/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Display/Free_Font_Demo/LoRaBoards.cpp b/examples/Display/Free_Font_Demo/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Display/Free_Font_Demo/LoRaBoards.cpp +++ b/examples/Display/Free_Font_Demo/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Display/TBeam_TFT_Shield/LoRaBoards.cpp b/examples/Display/TBeam_TFT_Shield/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Display/TBeam_TFT_Shield/LoRaBoards.cpp +++ b/examples/Display/TBeam_TFT_Shield/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Display/TFT_Char_times/LoRaBoards.cpp b/examples/Display/TFT_Char_times/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Display/TFT_Char_times/LoRaBoards.cpp +++ b/examples/Display/TFT_Char_times/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Display/UTFT_demo/LoRaBoards.cpp b/examples/Display/UTFT_demo/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Display/UTFT_demo/LoRaBoards.cpp +++ b/examples/Display/UTFT_demo/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Factory/LoRaBoards.cpp b/examples/Factory/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Factory/LoRaBoards.cpp +++ b/examples/Factory/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/GPS/TinyGPS_Example/LoRaBoards.cpp b/examples/GPS/TinyGPS_Example/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/GPS/TinyGPS_Example/LoRaBoards.cpp +++ b/examples/GPS/TinyGPS_Example/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/GPS/TinyGPS_FullExample/LoRaBoards.cpp b/examples/GPS/TinyGPS_FullExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/GPS/TinyGPS_FullExample/LoRaBoards.cpp +++ b/examples/GPS/TinyGPS_FullExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/GPS/TinyGPS_KitchenSink/LoRaBoards.cpp b/examples/GPS/TinyGPS_KitchenSink/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/GPS/TinyGPS_KitchenSink/LoRaBoards.cpp +++ b/examples/GPS/TinyGPS_KitchenSink/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/GPS/UBlox_BasicNMEARead/LoRaBoards.cpp b/examples/GPS/UBlox_BasicNMEARead/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/GPS/UBlox_BasicNMEARead/LoRaBoards.cpp +++ b/examples/GPS/UBlox_BasicNMEARead/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/GPS/UBlox_NMEAParsing/LoRaBoards.cpp b/examples/GPS/UBlox_NMEAParsing/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/GPS/UBlox_NMEAParsing/LoRaBoards.cpp +++ b/examples/GPS/UBlox_NMEAParsing/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/GPS/UBlox_OutputRate/LoRaBoards.cpp b/examples/GPS/UBlox_OutputRate/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/GPS/UBlox_OutputRate/LoRaBoards.cpp +++ b/examples/GPS/UBlox_OutputRate/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/GPS/UBlox_Recovery/LoRaBoards.cpp b/examples/GPS/UBlox_Recovery/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/GPS/UBlox_Recovery/LoRaBoards.cpp +++ b/examples/GPS/UBlox_Recovery/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.cpp b/examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.cpp +++ b/examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/LoRaWAN/LoRaWAN_ABP/LoRaBoards.cpp b/examples/LoRaWAN/LoRaWAN_ABP/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/LoRaWAN/LoRaWAN_ABP/LoRaBoards.cpp +++ b/examples/LoRaWAN/LoRaWAN_ABP/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.cpp b/examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.cpp +++ b/examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/OLED/SH1106FontUsage/LoRaBoards.cpp b/examples/OLED/SH1106FontUsage/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/OLED/SH1106FontUsage/LoRaBoards.cpp +++ b/examples/OLED/SH1106FontUsage/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/OLED/SH1106GraphicsTest/LoRaBoards.cpp b/examples/OLED/SH1106GraphicsTest/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/OLED/SH1106GraphicsTest/LoRaBoards.cpp +++ b/examples/OLED/SH1106GraphicsTest/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/OLED/SH1106IconMenu/LoRaBoards.cpp b/examples/OLED/SH1106IconMenu/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/OLED/SH1106IconMenu/LoRaBoards.cpp +++ b/examples/OLED/SH1106IconMenu/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/OLED/SH1106PrintUTF8/LoRaBoards.cpp b/examples/OLED/SH1106PrintUTF8/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/OLED/SH1106PrintUTF8/LoRaBoards.cpp +++ b/examples/OLED/SH1106PrintUTF8/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/OLED/SSD1306SimpleDemo/LoRaBoards.cpp b/examples/OLED/SSD1306SimpleDemo/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/OLED/SSD1306SimpleDemo/LoRaBoards.cpp +++ b/examples/OLED/SSD1306SimpleDemo/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/OLED/SSD1306UiDemo/LoRaBoards.cpp b/examples/OLED/SSD1306UiDemo/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/OLED/SSD1306UiDemo/LoRaBoards.cpp +++ b/examples/OLED/SSD1306UiDemo/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/PMU/LoRaBoards.cpp b/examples/PMU/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/PMU/LoRaBoards.cpp +++ b/examples/PMU/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/RadioLibExamples/Receive_Interrupt/LoRaBoards.cpp b/examples/RadioLibExamples/Receive_Interrupt/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/RadioLibExamples/Receive_Interrupt/LoRaBoards.cpp +++ b/examples/RadioLibExamples/Receive_Interrupt/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/RadioLibExamples/Transmit_Interrupt/LoRaBoards.cpp b/examples/RadioLibExamples/Transmit_Interrupt/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/RadioLibExamples/Transmit_Interrupt/LoRaBoards.cpp +++ b/examples/RadioLibExamples/Transmit_Interrupt/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/BME280_AdvancedsettingsExample/LoRaBoards.cpp b/examples/Sensor/BME280_AdvancedsettingsExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/BME280_AdvancedsettingsExample/LoRaBoards.cpp +++ b/examples/Sensor/BME280_AdvancedsettingsExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/BME280_TestExample/LoRaBoards.cpp b/examples/Sensor/BME280_TestExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/BME280_TestExample/LoRaBoards.cpp +++ b/examples/Sensor/BME280_TestExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/BME280_UnifiedExample/LoRaBoards.cpp b/examples/Sensor/BME280_UnifiedExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/BME280_UnifiedExample/LoRaBoards.cpp +++ b/examples/Sensor/BME280_UnifiedExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/PCF8563_AlarmByUnits/LoRaBoards.cpp b/examples/Sensor/PCF8563_AlarmByUnits/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/PCF8563_AlarmByUnits/LoRaBoards.cpp +++ b/examples/Sensor/PCF8563_AlarmByUnits/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/PCF8563_SimpleTime/LoRaBoards.cpp b/examples/Sensor/PCF8563_SimpleTime/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/PCF8563_SimpleTime/LoRaBoards.cpp +++ b/examples/Sensor/PCF8563_SimpleTime/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/PCF8563_TimeLib/LoRaBoards.cpp b/examples/Sensor/PCF8563_TimeLib/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/PCF8563_TimeLib/LoRaBoards.cpp +++ b/examples/Sensor/PCF8563_TimeLib/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/PCF8563_TimeSynchronization/LoRaBoards.cpp b/examples/Sensor/PCF8563_TimeSynchronization/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/PCF8563_TimeSynchronization/LoRaBoards.cpp +++ b/examples/Sensor/PCF8563_TimeSynchronization/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMC6310_CalibrateExample/LoRaBoards.cpp b/examples/Sensor/QMC6310_CalibrateExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMC6310_CalibrateExample/LoRaBoards.cpp +++ b/examples/Sensor/QMC6310_CalibrateExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMC6310_CompassExample/LoRaBoards.cpp b/examples/Sensor/QMC6310_CompassExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMC6310_CompassExample/LoRaBoards.cpp +++ b/examples/Sensor/QMC6310_CompassExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMC6310_GetDataExample/LoRaBoards.cpp b/examples/Sensor/QMC6310_GetDataExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMC6310_GetDataExample/LoRaBoards.cpp +++ b/examples/Sensor/QMC6310_GetDataExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMC6310_GetPolarExample/LoRaBoards.cpp b/examples/Sensor/QMC6310_GetPolarExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMC6310_GetPolarExample/LoRaBoards.cpp +++ b/examples/Sensor/QMC6310_GetPolarExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMI8658_BlockExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_BlockExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMI8658_BlockExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_BlockExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMI8658_GetDataExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_GetDataExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMI8658_GetDataExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_GetDataExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMI8658_InterruptBlockExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_InterruptBlockExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMI8658_InterruptBlockExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_InterruptBlockExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMI8658_InterruptExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_InterruptExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMI8658_InterruptExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_InterruptExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMI8658_LockingMechanismExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_LockingMechanismExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMI8658_LockingMechanismExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_LockingMechanismExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMI8658_MadgwickAHRS/LoRaBoards.cpp b/examples/Sensor/QMI8658_MadgwickAHRS/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMI8658_MadgwickAHRS/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_MadgwickAHRS/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMI8658_PedometerExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_PedometerExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMI8658_PedometerExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_PedometerExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMI8658_ReadFromFifoExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_ReadFromFifoExample/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMI8658_ReadFromFifoExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_ReadFromFifoExample/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/Sensor/QMI8658_WakeOnMotion/LoRaBoards.cpp b/examples/Sensor/QMI8658_WakeOnMotion/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/Sensor/QMI8658_WakeOnMotion/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_WakeOnMotion/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/T3S3Factory/LoRaBoards.cpp b/examples/T3S3Factory/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/T3S3Factory/LoRaBoards.cpp +++ b/examples/T3S3Factory/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings diff --git a/examples/TBeamFactory/LoRaBoards.cpp b/examples/TBeamFactory/LoRaBoards.cpp index 88db437..a9fa841 100644 --- a/examples/TBeamFactory/LoRaBoards.cpp +++ b/examples/TBeamFactory/LoRaBoards.cpp @@ -729,7 +729,11 @@ void setupBoards(bool disable_u8g2 ) #endif #ifdef HAS_GPS + +#ifdef T_BEAM_S3_SUPREME + // T-Beam v1.2 skips L76K find_gps = beginGPS(); +#endif uint32_t baudrate[] = {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 4800}; if (!find_gps) { // Restore factory settings