Skip to content

Commit

Permalink
Fix Arduino IDE V3 compilation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Jan 6, 2025
1 parent 04c1b90 commit 8434a7a
Show file tree
Hide file tree
Showing 49 changed files with 98 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/ArduinoLoRa/LoRaSender/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/BPFFactory/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Display/Free_Font_Demo/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Display/TBeam_TFT_Shield/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Display/TFT_Char_times/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Display/UTFT_demo/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Factory/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/GPS/TinyGPS_Example/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/GPS/TinyGPS_FullExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/GPS/TinyGPS_KitchenSink/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/GPS/UBlox_BasicNMEARead/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/GPS/UBlox_NMEAParsing/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/GPS/UBlox_OutputRate/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/GPS/UBlox_Recovery/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/LoRaWAN/LoRaWAN_ABP/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/OLED/SH1106FontUsage/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/OLED/SH1106GraphicsTest/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/OLED/SH1106IconMenu/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/OLED/SH1106PrintUTF8/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/OLED/SSD1306SimpleDemo/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/OLED/SSD1306UiDemo/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/PMU/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/RadioLibExamples/Receive_Interrupt/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/RadioLibExamples/Transmit_Interrupt/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/BME280_AdvancedsettingsExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/BME280_TestExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/BME280_UnifiedExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/PCF8563_AlarmByUnits/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/PCF8563_SimpleTime/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/PCF8563_TimeLib/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/PCF8563_TimeSynchronization/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/QMC6310_CalibrateExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/QMC6310_CompassExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/QMC6310_GetDataExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/QMC6310_GetPolarExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/QMI8658_BlockExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/QMI8658_GetDataExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/QMI8658_InterruptBlockExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/QMI8658_InterruptExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/QMI8658_LockingMechanismExample/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
2 changes: 2 additions & 0 deletions examples/Sensor/QMI8658_MadgwickAHRS/LoRaBoards.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <U8g2lib.h>
#include <XPowersLib.h>

#include <esp_mac.h>

#ifndef DISPLAY_MODEL
#define DISPLAY_MODEL U8G2_SSD1306_128X64_NONAME_F_HW_I2C
#endif
Expand Down
Loading

0 comments on commit 8434a7a

Please sign in to comment.