Closed musamaanjum closed 4 years ago
The fix is in. You will need to go to your project's properties (right click on your project -> properties), and re-select cross compiler under Zephyr->Toolchain.
How much time does it take until the plugin is updated in its repo (https://builds.zephyrproject.org/eclipse-plugin/) to be updated in the Eclipse? I've just checked and there are no updates available for this plugin.
We are trying to setup automatic update from CI at this time. Please wait a few more days.
The updated plugin has been uploaded to the site. Could you try again?
I've updated the plugin to version 0.2.99.202005131737 and it works fine. Thank you.
I'm successful in building qemu_riscv64 though west using command line. (I've built riscv64-zephyr-elf toolchain from github.com/riscv/riscv-gnu-toolchian)
It means the environment on my Ubuntu 18.04 is perfectly fine.
If I create a default project in Eclipse using Zephyr's plugin and Zephyr's SDK, the project builds and runs fine. But when I select the cross-compile in this project's settings instead of ZEPHYR SDK, build fails.
I'm creating
qemu_riscv64
hello_world application in Eclipse (2020-03) through the Zephyr Application option in Create Project. After selecting theZEPHYR_BASE
, I'm settingZEPHYR_TOOLCHAIN_VARIANT
tocross-compile
andCROSS_COMPILE
to/opt/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-
while creating project. When I build this project, I get the following error:This error is coming because of the execution of line 64 in generic_toolchain.cmake. This means the correct cmake file isn't being created when I build through eclipse.