LoRa 32 V3 Compile Error

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

This library does not support V3.

thanks, what is the correct library I should compile on my v3? the Wi-Fi serial kit?

I have basically the same problem . The https://github.com/Baptou88/arduino-esp32.git repo doesnt include LoraWan102 so no lora support (other aspects relating to esp32S3 etc appear to work)

The HELTEC WiFi-serial kit is broken wrt git clone fails due to a littleFS problem (https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/issues/153) which somehow others (non platformio folks?) are still gettting around 10 months later…

platform_packages = framework-arduinoespressif32@https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series

so platformio can’t start the build.

All pretty broken…not sure Heltec is actually supporting anything outside of ArduinoIDE.