Transplanted from Semtech LoRaWAN(https://github.com/Lora-net/LoRaMac-node) protocol to "ESP32 + Arduino" platform. Use RTC, support deep sleep, only working with ESP32 + LoRa boards made by HelTec Automation(TM). Need a unique license to use it.
this lib does not compiles with little stricter compile flags.
Since I have to use these flags, I have fixed the code, and propose this pr:
ESP32_LoRaWAN/src/gpio-board.c:31:24: error: 'GpioIrq' defined but not used [-Werror=unused-variable]
ESP32_LoRaWAN/src/board.c:190:6: error: 'SystemClockReConfig' defined but not used [-Werror=unused-function]
ESP32_LoRaWAN/src/board.c:176:6: error: 'CalibrateSystemWakeupTime' defined but not used [-Werror=unused-function]
ESP32_LoRaWAN/src/board.c:171:6: error: 'SystemClockConfig' defined but not used [-Werror=unused-function]
ESP32_LoRaWAN/src/board.c:166:13: error: 'BoardUnusedIoInit' defined but not used [-Werror=unused-function]
ESP32_LoRaWAN/src/board.c:55:13: error: 'McuInitialized' defined but not used [-Werror=unused-variable]
ESP32_LoRaWAN/src/region/RegionAU915.c:418:5: error: 'nbChannels' defined but not used [-Werror=unused-variable]
ESP32_LoRaWAN/src/region/RegionLA915.c:932:14: error: variable 'random' set but not used [-Werror=unused-but-set-variable]
ESP32_LoRaWAN/src/region/RegionLA915.c:501:13: error: unused variable 'nbChannels' [-Werror=unused-variable]
ESP32_LoRaWAN/src/LoRaMac.c:749:12: error: unused variable 'temp' [-Werror=unused-variable]
ESP32_LoRaWAN/src/board.c:50:21: error: 'CalibrateSystemWakeupTimeTimer' defined but not used [-Werror=unused-variable]
ESP32_LoRaWAN/src/board.c:50:21: error: 'CalibrateSystemWakeupTimeTimer' defined but not used [-Werror=unused-variable]
ESP32_LoRaWAN/src/board.c:60:13: error: 'SystemWakeupTimeCalibrated' defined but not used [-Werror=unused-variable]
Hi,
this lib does not compiles with little stricter compile flags. Since I have to use these flags, I have fixed the code, and propose this pr:
Regards