diff --git a/platformio.ini b/platformio.ini index fc58622..9a9f836 100755 --- a/platformio.ini +++ b/platformio.ini @@ -23,6 +23,10 @@ build_flags = ; Select the power management chip -D AXP192=1 ; -D AXP2101=1 + ; hal_init is already used by arduino-esp32 (2.0), rename to LMIC_HAL_init + ; to avoid name collision. + ; https://github.com/mcci-catena/arduino-lmic/issues/714 + -D hal_init=LMIC_HAL_init deps_3rd_party = ESP8266 and ESP32 OLED driver for SSD1306 displays MCCI LoRaWAN LMIC library