-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 22.04.3 LTS Cross-Compilation for the target = "riscv32imac-esp-espidf" (IDFGH-11878) #373
Comments
Is there any specific reason why you manual try to set things like force_ldproxy and TARGET_CC etc? Please use the setup shown in the rust esp-idf-template. If you deviate from that you need to justify why first. |
Hi, @Vollbrecht Yes, there is a reason why I am trying to do this. Cheers, |
By justify i mean you bring up technical reasons for that decision, not what you are thinking of archiving. So explaining why you do things the way you do. I suggest you to look up how ldproxy works with embuild and how we integrating that into esp-idf-sys to build esp-idf. |
Thank you for you message and advise. "ring" exposes a Rust API and is written in a hybrid of Rust, C, and assembly language. In order for this to work we need to set the TARGET_CC or equivalent to the C compiler for the target. So, in order to make this work I need to setup this in this way, unless someone have a better approach of course. Cheers, |
Hello,
I am using the ESP-IDF Toolchain to compile the test-app.
But I am getting this error:
unrecognised emulation mode: arch=rv32imac_zicsr_zifencei
(Supported emulations: elf32lriscv elf64lriscv elf32briscv elf64briscv)
if anyone have any suggestion for this error please comment.
Cheers,
The text was updated successfully, but these errors were encountered: