Skip to content

Commit

Permalink
Other boards skip GPS
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Aug 9, 2024
1 parent 500751f commit 64a81b6
Show file tree
Hide file tree
Showing 46 changed files with 184 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/ArduinoLoRa/LoRaSender/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/BPFFactory/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/Display/Free_Font_Demo/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/Display/TBeam_TFT_Shield/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/Display/TFT_Char_times/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/Display/UTFT_demo/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/GPS/TinyGPS_Example/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/GPS/TinyGPS_FullExample/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/GPS/TinyGPS_KitchenSink/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/GPS/UBlox_BasicNMEARead/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/GPS/UBlox_NMEAParsing/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/GPS/UBlox_OutputRate/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/GPS/UBlox_Recovery/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/OLED/SH1106FontUsage/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/OLED/SH1106GraphicsTest/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
4 changes: 4 additions & 0 deletions examples/OLED/SH1106IconMenu/LoRaBoards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 )
beginWiFi();

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
find_gps = beginGPS();
#endif
#endif

Serial.println("init done . ");
Expand Down Expand Up @@ -682,8 +684,10 @@ void printResult(bool radio_online)
#endif

#ifdef HAS_GPS
#ifdef T_BEAM_S3_BPF
Serial.print("GPS : ");
Serial.println(( find_gps ) ? "+" : "-");
#endif
#endif

if (u8g2) {
Expand Down
Loading

0 comments on commit 64a81b6

Please sign in to comment.