Hi, does anyone have idea about this error during compiling?
Source code - https://github.com/HelTecAutomation/ESP32_LoRaWAN
Platformio.ini
[env:heltec_wifi_lora_32_V3]
platform = https://github.com/Baptou88/platform-espressif32.git
board = heltec_wifi_lora_32_V3
framework = arduino
board_build.mcu = esp32
lib_ldf_mode = deep+
monitor_speed = 115200
platform_packages =
framework-arduinoespressif32@https://github.com/Baptou88/arduino-esp32.git
lib_deps =
heltecautomation/Heltec ESP32 Dev-Boards@^1.1.1
heltecautomation/ESP32_LoRaWAN@^2.1.1
bblanchon/ArduinoJson@^6.19.4
build_flags =
-D REGION_US915
-D ACTIVE_REGION=LORAMAC_REGION_US915
-D LoRaWAN_DEBUG_LEVEL=0
-D LORAWAN_PREAMBLE_LENGTH=8
-D RST_LoRa=4
-D DIO0=26
-D DIO1=21
Compile Errors -
Building in release mode
Linking .pio/build/heltec_wifi_lora_32_V3/firmware.elf
/Users/junwen/.platformio/packages/toolchain-xtensa-esp32@8.4.0+2021r2-patch5/bin/…/lib/gcc/xtensa-esp32-elf/8.4.0/…/…/…/…/xtensa-esp32-elf/bin/ld: .pio/build/heltec_wifi_lora_32_V3/src/ESP32_LoRaWAN.cpp.o:(.literal._ZN12LoRaWanClass5sleepE12eDeviceClassh+0x0): undefined reference to `Radio’
collect2: error: ld returned 1 exit status
*** [.pio/build/heltec_wifi_lora_32_V3/firmware.elf] Error 1
Thanks !
Jun