Hello I’m new with Wireless Stick, tried to run some example code from Heltec with vs code (with PlatformIO). With the OTAA example I get this output with an error at the end.
Did anyone have an idea ?
Executing task in folder hello world: platformio run <
Processing heltec_wireless_stick (platform: espressif32; board: heltec_wireless_stick; framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/heltec_wireless_stick.html
PLATFORM: Espressif 32 1.12.3 > Heltec Wireless Stick
HARDWARE: ESP32 240MHz, 320KB RAM, 8MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 3.10004.200129 (1.0.4)
- tool-esptoolpy 1.20600.0 (2.6.0)
- toolchain-xtensa32 2.50200.80 (5.2.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 28 compatible libraries
Scanning dependencies…
Dependency Graph
|-- <ESP32_LoRaWAN> 2.0
| |-- 1.0
|-- 1.0
Building in release mode
Linking .pio/build/heltec_wireless_stick/firmware.elf
.pio/build/heltec_wireless_stick/lib16d/libESP32_LoRaWAN_ID6633.a(LoRa.cpp.o):(.data.DevEui+0x0): multiple definition ofDevEui' .pio/build/heltec_wireless_stick/src/main.cpp.o:(.data.DevEui+0x0): first defined here .pio/build/heltec_wireless_stick/lib16d/libESP32_LoRaWAN_ID6633.a(LoRa.cpp.o):(.data.AppEui+0x0): multiple definition of
AppEui’
.pio/build/heltec_wireless_stick/src/main.cpp.o:(.data.AppEui+0x0): first defined here
.pio/build/heltec_wireless_stick/lib16d/libESP32_LoRaWAN_ID6633.a(LoRa.cpp.o):(.data.AppKey+0x0): multiple definition ofAppKey' .pio/build/heltec_wireless_stick/src/main.cpp.o:(.data.AppKey+0x0): first defined here .pio/build/heltec_wireless_stick/lib16d/libESP32_LoRaWAN_ID6633.a(rtc-board.S.o): In function
TimerGetTimerValue’:
D:/D:\61722\Documents\Arduino\hardware\heltec\esp32\libraries\ESP32_LoRaWAN\src\rtc-board.c:120:(.text.TimerGetTimerValue+0x31): dangerous relocation: call8: call target out of range: __udivdi3
.pio/build/heltec_wireless_stick/lib16d/libESP32_LoRaWAN_ID6633.a(rtc-board.S.o): In functionTimerGetElapsedAlarmTime': D:\/D:\61722\Documents\Arduino\hardware\heltec\esp32\libraries\ESP32_LoRaWAN\src\rtc-board.c:120:(.text.TimerGetElapsedAlarmTime+0x32): dangerous relocation: call8: call target out of range: __udivdi3 .pio/build/heltec_wireless_stick/lib16d/libESP32_LoRaWAN_ID6633.a(rtc-board.S.o): In function
TimerComputeElapsedTime’:
D:/D:\61722\Documents\Arduino\hardware\heltec\esp32\libraries\ESP32_LoRaWAN\src\rtc-board.c:134:(.text.TimerComputeElapsedTime+0x32): dangerous relocation: call8: call target out of range: __udivdi3
collect2: error: ld returned 1 exit status
*** [.pio/build/heltec_wireless_stick/firmware.elf] Error 1
========================================================= [FAILED] Took 3.34 seconds =========================================================
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.