Hi
Fail to compile Factory Test in platformio:
Linking .pio/build/hheltec_wifi_lora_32_V3/firmware.elf
/Users/calypsojr/.platformio/packages/toolchain-xtensa-esp32s3/bin/…/lib/gcc/xtensa-esp32s3-elf/8.4.0/…/…/…/…/xtensa-esp32s3-elf/bin/ld: .pio/build/hheltec_wifi_lora_32_V3/src/main.cpp.o:(.literal._Z11OnTxTimeoutv+0x0): undefined reference to Radio' /Users/calypsojr/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pio/build/hheltec_wifi_lora_32_V3/src/main.cpp.o:(.literal._Z9lora_initv+0x0): undefined reference to
Mcu’
/Users/calypsojr/.platformio/packages/toolchain-xtensa-esp32s3/bin/…/lib/gcc/xtensa-esp32s3-elf/8.4.0/…/…/…/…/xtensa-esp32s3-elf/bin/ld: .pio/build/hheltec_wifi_lora_32_V3/src/main.cpp.o:(.literal._Z9lora_initv+0x20): undefined reference to McuClass::begin()' /Users/calypsojr/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pio/build/hheltec_wifi_lora_32_V3/src/main.cpp.o: in function
lora_init()’:
/Users/calypsojr/.platformio/packages/framework-arduinoespressif32/libraries/DISPLAY/src/HT_QYEG0213RWS800_BWR.h:257: undefined reference to `McuClass::begin()’
collect2: error: ld returned 1 exit status
*** [.pio/build/hheltec_wifi_lora_32_V3/firmware.elf] Error 1
Basic Sketches such as read chip ID compile without any issue.
Any suggestions?
[env:hheltec_wifi_lora_32_V3]
platform = espressif32
board = heltec_wifi_lora_32_V3
framework = arduino
lib_deps_external = https://github.com/HelTecAutomation/Heltec_ESP32.git
[common]
build_flags =
-D ACTIVE_REGION=LORAMAC_REGION_US915
;-D LoRaWAN_DEBUG_LEVEL=0
;-D LORAWAN_PREAMBLE_LENGTH=8
;-DRST_LoRa=4
;-DDIO0=26
;-DDIO1=21