Lmic compiles smoothless on arduino-espressif32 v1.0.6 framework. But with the current v2.0.0 i get a linker error:
/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: /.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/lib\libpp.a(hal_mac.o): in function hal_init': (.text.hal_init+0xc8): multiple definition ofhal_init';
It seems there two concurrent definitions for hal_init, one in lmic (src/hal/hal.cpp:416) and one in libpp.
Lmic compiles smoothless on arduino-espressif32 v1.0.6 framework. But with the current v2.0.0 i get a linker error:
/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: /.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/lib\libpp.a(hal_mac.o): in function
hal_init': (.text.hal_init+0xc8): multiple definition of
hal_init';It seems there two concurrent definitions for hal_init, one in lmic (src/hal/hal.cpp:416) and one in libpp.
Not sure what i can do to avoid or fix this.