-
Notifications
You must be signed in to change notification settings - Fork 260
Description
I'm trying to build a LoraWan stack project for HT-CT62, the platform settings are as follows:
[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
build_flags =
-DSLOW_CLK_TPYE=0
-DLoRaWAN_DEBUG_LEVEL=3
-DREGION_EU868
-DACTIVE_REGION=LORAMAC_REGION_EU868
-DHELTEC_BOARD=70
-DWIRELESS_MINI_SHELL
-DMCU_ESP32_C3
-DRADIO_CHIP_SX1262
lib_deps =
heltecautomation/Heltec ESP32 Dev-Boards
monitor_speed = 115200
upload_speed = 921600
upload_port = COM7 ; < replace with your actual port
monitor_port = COM7 ; < for serial monitor
Everything compiles fine, but just falls apart at the linking stage. Throwing out a wall of errors like:
c:/users/dihalt/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../riscv32-esp-elf/bin/ld.exe: failed to merge target specific data of file c:/users/dihalt/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/bin/../lib/gcc/ri scv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/lib/rv32imc/ilp32/no-rtti\libc.a(lib_a-makebuf.o)
c:/users/dihalt/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: -march=: ISA string must begin with rv32 or rv64
However, if you try to compile the same project under esp32-s3 , everything works fine.
Other projects under the same framework, for example, the same Lora from Radiolib, work fine.
How to fix this? Our product has HT-CT62 embedded