Hi everyone,
I installed VSCode, MCUXpresso for VSCode, then on the MCUXpresso Installer I installed most of the items including Zephyr Developer (it gives green tick to ensure proper installation). I then imported basic projects like blinky and hello_workd for board NXPMIMXRT1060-EVKB.
However, I am unable to build any project, same error shows up:
CMake Error at C:/Users/jahme/zephyr-sdk-0.17.0/cmake/zephyr/generic.cmake:27 (message):
Unable to find 'x86_64-zephyr-elf' or any other architecture in
C:/Users/jahme/zephyr-sdk-0.17.0
On further investigation it seems like it is unable to find a *-*zephyr-* toolchain.
In the "mcuxpresso-tools.json" file following toolchain path is given
Hi Sam_Gao
Thanks for the reply. I actually got around to resolving it. I initially used the following youtube video for setup https://www.youtube.com/watch?v=-RHmk5il8iI when this failed, I looked deeper and found another resource https://github.com/nxp-mcuxpresso/vscode-for-mcux/wiki but this did not help either.
What really fixed it was deleting the sdk folder in C:/Users/jahme/ and running the MCUXpresso in VSCode, it recognized the absence of Zephyr. When I reinstalled it, the desired folder appeared, and it started compiling the examples.
Lesson learnt, even if there is a green tick infront of Zephyr in MCUXpresso installer in VSCode, that does not mean it is properly installed. Reinstalling after removing should be tried before banging your head.
Great!
Mostly, we will encounter various problems, we need to find hints and solutions from the logs (C:\Users\xxx\AppData\Local\Programs\MCUXpressoInstaller\logs)
It seems be some issues about the toolchain(arm-zephyr-eabi), I found this dedicated toolchain which comes from Zephyr Open Community, please try to install it. https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.17.0
BTW, Which document did you start these steps from? It seems that the relevant documents are not clear. If these documents are from NXP, I can help you.