From 01925ece37dad7d66b27c4b5c3224da6f67f5cd7 Mon Sep 17 00:00:00 2001 From: lewisxhe Date: Sat, 16 Nov 2024 16:37:20 +0800 Subject: [PATCH] Add library dependency check https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/issues/176 --- examples/ATdebug/utilities.h | 4 +++- examples/Blynk_Console/utilities.h | 4 +++- examples/DeepSleep/utilities.h | 4 +++- examples/GPS_Acceleration/utilities.h | 4 +++- examples/GPS_BuiltIn/utilities.h | 4 +++- examples/GPS_NMEA_Output/utilities.h | 4 +++- examples/GPS_NMEA_Parse/utilities.h | 4 +++- examples/HttpClient/utilities.h | 4 +++- examples/HttpsBuiltlnGet/utilities.h | 4 +++- examples/HttpsBuiltlnPost/utilities.h | 4 +++- examples/HttpsClient/utilities.h | 4 +++- examples/HttpsOTAUpgrade/utilities.h | 4 +++- examples/LBSExample/utilities.h | 4 +++- examples/ModemPowerOff/utilities.h | 4 +++- examples/ModemSleep/utilities.h | 4 +++- examples/MqttClient/utilities.h | 4 +++- examples/MqttsBuiltlnAWS/utilities.h | 4 +++- examples/MqttsBuiltlnAuth/utilities.h | 4 +++- examples/MqttsBuiltlnEMQX/utilities.h | 4 +++- examples/MqttsBuiltlnHivemq/utilities.h | 4 +++- examples/MqttsBuiltlnNoSSL/utilities.h | 4 +++- examples/MqttsBuiltlnSSL/utilities.h | 4 +++- examples/MqttsBuiltlnWill/utilities.h | 4 +++- examples/Network/utilities.h | 4 +++- examples/PowerMonitoring/utilities.h | 4 +++- examples/ReadBattery/utilities.h | 4 +++- examples/ReadSMS/utilities.h | 4 +++- examples/SDCard/utilities.h | 4 +++- examples/SPIExample/utilities.h | 4 +++- examples/SendLocationFromSMS/utilities.h | 4 +++- examples/SendLocationFromSMS_Use_TinyGPS/utilities.h | 4 +++- examples/SendSMS/utilities.h | 4 +++- examples/SerialRS485/utilities.h | 4 +++- examples/VoiceCalls/utilities.h | 4 +++- 34 files changed, 102 insertions(+), 34 deletions(-) diff --git a/examples/ATdebug/utilities.h b/examples/ATdebug/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/ATdebug/utilities.h +++ b/examples/ATdebug/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/Blynk_Console/utilities.h b/examples/Blynk_Console/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/Blynk_Console/utilities.h +++ b/examples/Blynk_Console/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/DeepSleep/utilities.h b/examples/DeepSleep/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/DeepSleep/utilities.h +++ b/examples/DeepSleep/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/GPS_Acceleration/utilities.h b/examples/GPS_Acceleration/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/GPS_Acceleration/utilities.h +++ b/examples/GPS_Acceleration/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/GPS_BuiltIn/utilities.h b/examples/GPS_BuiltIn/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/GPS_BuiltIn/utilities.h +++ b/examples/GPS_BuiltIn/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/GPS_NMEA_Output/utilities.h b/examples/GPS_NMEA_Output/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/GPS_NMEA_Output/utilities.h +++ b/examples/GPS_NMEA_Output/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/GPS_NMEA_Parse/utilities.h b/examples/GPS_NMEA_Parse/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/GPS_NMEA_Parse/utilities.h +++ b/examples/GPS_NMEA_Parse/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/HttpClient/utilities.h b/examples/HttpClient/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/HttpClient/utilities.h +++ b/examples/HttpClient/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/HttpsBuiltlnGet/utilities.h b/examples/HttpsBuiltlnGet/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/HttpsBuiltlnGet/utilities.h +++ b/examples/HttpsBuiltlnGet/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/HttpsBuiltlnPost/utilities.h b/examples/HttpsBuiltlnPost/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/HttpsBuiltlnPost/utilities.h +++ b/examples/HttpsBuiltlnPost/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/HttpsClient/utilities.h b/examples/HttpsClient/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/HttpsClient/utilities.h +++ b/examples/HttpsClient/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/HttpsOTAUpgrade/utilities.h b/examples/HttpsOTAUpgrade/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/HttpsOTAUpgrade/utilities.h +++ b/examples/HttpsOTAUpgrade/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/LBSExample/utilities.h b/examples/LBSExample/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/LBSExample/utilities.h +++ b/examples/LBSExample/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/ModemPowerOff/utilities.h b/examples/ModemPowerOff/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/ModemPowerOff/utilities.h +++ b/examples/ModemPowerOff/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/ModemSleep/utilities.h b/examples/ModemSleep/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/ModemSleep/utilities.h +++ b/examples/ModemSleep/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/MqttClient/utilities.h b/examples/MqttClient/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/MqttClient/utilities.h +++ b/examples/MqttClient/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/MqttsBuiltlnAWS/utilities.h b/examples/MqttsBuiltlnAWS/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/MqttsBuiltlnAWS/utilities.h +++ b/examples/MqttsBuiltlnAWS/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/MqttsBuiltlnAuth/utilities.h b/examples/MqttsBuiltlnAuth/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/MqttsBuiltlnAuth/utilities.h +++ b/examples/MqttsBuiltlnAuth/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/MqttsBuiltlnEMQX/utilities.h b/examples/MqttsBuiltlnEMQX/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/MqttsBuiltlnEMQX/utilities.h +++ b/examples/MqttsBuiltlnEMQX/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/MqttsBuiltlnHivemq/utilities.h b/examples/MqttsBuiltlnHivemq/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/MqttsBuiltlnHivemq/utilities.h +++ b/examples/MqttsBuiltlnHivemq/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/MqttsBuiltlnNoSSL/utilities.h b/examples/MqttsBuiltlnNoSSL/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/MqttsBuiltlnNoSSL/utilities.h +++ b/examples/MqttsBuiltlnNoSSL/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/MqttsBuiltlnSSL/utilities.h b/examples/MqttsBuiltlnSSL/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/MqttsBuiltlnSSL/utilities.h +++ b/examples/MqttsBuiltlnSSL/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/MqttsBuiltlnWill/utilities.h b/examples/MqttsBuiltlnWill/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/MqttsBuiltlnWill/utilities.h +++ b/examples/MqttsBuiltlnWill/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/Network/utilities.h b/examples/Network/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/Network/utilities.h +++ b/examples/Network/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/PowerMonitoring/utilities.h b/examples/PowerMonitoring/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/PowerMonitoring/utilities.h +++ b/examples/PowerMonitoring/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/ReadBattery/utilities.h b/examples/ReadBattery/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/ReadBattery/utilities.h +++ b/examples/ReadBattery/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/ReadSMS/utilities.h b/examples/ReadSMS/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/ReadSMS/utilities.h +++ b/examples/ReadSMS/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/SDCard/utilities.h b/examples/SDCard/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/SDCard/utilities.h +++ b/examples/SDCard/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/SPIExample/utilities.h b/examples/SPIExample/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/SPIExample/utilities.h +++ b/examples/SPIExample/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/SendLocationFromSMS/utilities.h b/examples/SendLocationFromSMS/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/SendLocationFromSMS/utilities.h +++ b/examples/SendLocationFromSMS/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/SendLocationFromSMS_Use_TinyGPS/utilities.h b/examples/SendLocationFromSMS_Use_TinyGPS/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/SendLocationFromSMS_Use_TinyGPS/utilities.h +++ b/examples/SendLocationFromSMS_Use_TinyGPS/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/SendSMS/utilities.h b/examples/SendSMS/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/SendSMS/utilities.h +++ b/examples/SendSMS/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/SerialRS485/utilities.h b/examples/SerialRS485/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/SerialRS485/utilities.h +++ b/examples/SerialRS485/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif diff --git a/examples/VoiceCalls/utilities.h b/examples/VoiceCalls/utilities.h index 9f71d3e..2bdfbf4 100644 --- a/examples/VoiceCalls/utilities.h +++ b/examples/VoiceCalls/utilities.h @@ -237,7 +237,9 @@ - +#if !defined(TINY_GSM_MODEM_A7670) && !defined(TINY_GSM_MODEM_A7608) && !defined(TINY_GSM_MODEM_SIM7672) +#error "No correct definition detected, Please copy all the [lib directories](https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/lib) to the arduino libraraies directory , See README" +#endif