Closed cathiele closed 3 years ago
@cathiele Thank you for reporting the problem.
Risc architecture has different requirements which are already covered by upstream version of Rust.
Please check following requirements:
Please, test the following script which should fix all necessary requirements and export all necessary variables (branch test-flash):
https://github.com/esp-rs/rust-build/tree/feature/test-flash
./test-rust-toolchain.sh
Using the in README.md linked instructions from Rust Espressif compiler fork and the Espressif LLVM Clang fork i installed the toolchain from the esp
-Branch as mentioned there, and not the current esp-1.56.0
-branch of https://github.com/esp-rs/rust .
using esp-1.56.0
all works fine. thank you @georgik for your help!
I can not build the project with the
xtensa-esp32-espidf
target, it just works with theriscv32imc-esp-espidf
target. When i try to build it for classic esp32 targets i get a linker error:i also tried with "native" feature and
ESP_IDF_VERSION
set tomaster
but i still get the same linker error.When remove the
test_tcp_bind
-Code the build (and flashing to the controller) works fine.What can i do to fix this problem?