Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hal_init name collision between arduino-esp32 and arduino-lmic
The bug is tracked here: mcci-catena/arduino-lmic#714 This pull request fixes the following linker failure when building using vscode, platformio on Linux. ///.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/lib/libpp.a(hal_mac.o): in function `hal_init': (.text.hal_init+0xb4): multiple definition of `hal_init'; .pio/build/working-in-progress/libdad/libMCCI LoRaWAN LMIC library.a(hal.cpp.o):///git/g/hzgl-lora-communicator/.pio/libdeps/working-in-progress/MCCI LoRaWAN LMIC library/src/hal/hal.cpp:416: first defined here collect2: error: ld returned 1 exit status *** [.pio/build/working-in-progress/firmware.elf] Error 1
- Loading branch information