We have project that is created using MCUXpresso IDE. Is there a way to convert it to vscode plugin (1.6.47) to use cmake based build ?
When I do "import project", it imports all folders, but cannot build because cannot find make files and project looks like
and component management throws error "Error: Component management is not available for projects without an associated SDK" but i'm not sure how to associate and sdk with it.
SDK installed is SDK_2.x_MIMXRT1189xxxxx (2.15 )
Also is the plugin compatible with WSL based development?
Thanks
解決済! 解決策の投稿を見る。
Hi @arunkumar_g ,
At first, do you already make the SDK vscode method works?
I mean, you can import the SDK demo in the VScode after you install the SDK in the vscode, whether that works?
If yes, I highly recommend you based on the VScode project to develop your own project instead of the MCUXpresso IDE project, as now, we don't have the method to import the mcuxpresso project to the vscode directly.
About the vscode usage, you can refer to these post:
https://community.nxp.com/t5/MCUXpresso-for-VSCode-Knowledge/tkb-p/mcuxpresso-vscode@tkb
Wish it helps you!
If you still have question about it, please kindly let me know.
Best Regards,
Kerry
Hi @arunkumar_g ,
Please keep patient, I am finding time to test it on my side in these two days.
After my testing, will share the detail steps, thanks.
Please keep patient, thanks so much.
Best Regards,
Kerry
Any update?
can you post your CMakeLists.txt file
try adding this in CMakeLists
No it does not file do not exist. The build folder even is not formed.
Doing a rebuild all after adding the line
"
* Executing task: CMake: clean
clean task started....
"C:\Program Files\CMake\bin\cmake.EXE" --build --config Debug --target clean --
Error: could not load cache
clean finished with error(s).
* The terminal process failed to launch (exit code: 1).
* Terminal will be reused by tasks, press any key to close it.
* Executing task: CMake: configure
Config task started...
Configure finished with return code -3
* The terminal process failed to launch (exit code: -3).
* Terminal will be reused by tasks, press any key to close it.
"
Did you build both Debug and Release config in MCUXpresso before converting the project to VSCode? I think I remember that the conversion will fail if there was no previously built configurations
One thing I found in this, when I try a "Clean" is the command that executes doesn't contain the project folder path . The command looks like
clean task started....
"C:\Program Files\CMake\bin\cmake.EXE" --build --config Debug --target clean --
Error: could not load cache
clean finished with error(s).
The cmake command does not have project path. Why is that?
Hi @arunkumar_g ,
Don't worry, let me find time to test it at first.
Please give me more time, and keep patient, thanks so much.
Best Regards,
Kerry
@kerryzhou yes I imported (hello_world_cm33 and free rtos version) demo app from repository. When building vscode displays the error "Error: Could not determine the build directory for project mimxrt1180evk_hello_world_demo_cm33". SDk is 2.15, board is 1180 rev B, but i have not reached debug stage. Is there any logs to see what is happening?
I imported demo app from repository, but cannot build as it gives "Error: Could not determine the build directory for project mimxrt1180evk_hello_world_demo_cm33" I'm not sure what's missing. (i have installed "mcuxpresso sdk developer" using the installer)
Hi @arunkumar_g ,
Do you import the example from Repository?
Please share some screenshot about your issues.
BTW, what's the board you are using? the NXP MIMXRT1180-EVK board? which version?
Best Regards,
Kerry
Also I don't see a "create new application" kind of button as shown in one of your training videos like below.
What I see is
Does it mean we can only start from an existing sample?
@JoeSanchez @kerryzhou yes i have installed sdk in vscode and have build demo app
Hi @arunkumar_g ,
At first, do you already make the SDK vscode method works?
I mean, you can import the SDK demo in the VScode after you install the SDK in the vscode, whether that works?
If yes, I highly recommend you based on the VScode project to develop your own project instead of the MCUXpresso IDE project, as now, we don't have the method to import the mcuxpresso project to the vscode directly.
About the vscode usage, you can refer to these post:
https://community.nxp.com/t5/MCUXpresso-for-VSCode-Knowledge/tkb-p/mcuxpresso-vscode@tkb
Wish it helps you!
If you still have question about it, please kindly let me know.
Best Regards,
Kerry
Hello,
Checking again on this topic. Was wondering if there is a timeline for this feature to be released?
Thanks.
Did you install that SDK in VSCode?