I'm in the process of transferring an MCUXpresso IDE project to VS Code and updating it to use the new SDK system where the SDK is built from a west manifest.
I have slimmed the SDK down to only the devices, middleware, rtos, etc. repos that my project is using; however, as soon as I remove the "mcux-sdk-examples" repo (which includes examples for all boards) from the SDK, I am no longer able to import my project using MCUXpresso for VS Code. I get the error: "The selected repository doesn't contain board 'evkmimxrt1064'".
Is there an intended way to import a project into a VS Code using an SDK that doesn't have these examples (or at least only examples for one board/family), or is it expected that every SDK has the examples for all boards?
Thanks
Solved! Go to Solution.
No, I have already converted the MCUXpresso IDE project the VS Code. I was running into this "repository does not contain board" error when I tried to open the converted project on another device using the "Import Project" button in MCUXpresso for VS Code. I only got this error after removing the examples from my SDK.
However, I have since realized that after converting the project to VS Code, I don't need to use the "Import Project" button. Instead, I can just open the project in VS Code and it will be detected as an MCUXpresso for VS Code project. The SDK and toolchain can then be selected using with "Configure" > "Associate Repository" and "Configure" > "Associate Toolchain".
When opening an MCUXpresso for VS Code project this way, I avoid the "repository does not contain board" error.
Do you mean that import the project(like hello world) in MCUXpresso IDE into the MCUXpresso for VSCODE?
BR
Harry
No, I have already converted the MCUXpresso IDE project the VS Code. I was running into this "repository does not contain board" error when I tried to open the converted project on another device using the "Import Project" button in MCUXpresso for VS Code. I only got this error after removing the examples from my SDK.
However, I have since realized that after converting the project to VS Code, I don't need to use the "Import Project" button. Instead, I can just open the project in VS Code and it will be detected as an MCUXpresso for VS Code project. The SDK and toolchain can then be selected using with "Configure" > "Associate Repository" and "Configure" > "Associate Toolchain".
When opening an MCUXpresso for VS Code project this way, I avoid the "repository does not contain board" error.