You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project that is being tracked in git and so far was developed on MCUXpresso IDE.
What is the procedure for importing this project to VSCode while keeping it in the same folder so that git can see the changes?
If I import it via "Import Project" it doesn't let me keep the project in the same folder and I have to make it in another, obviously causing git to not see the following changes made on the project.
I tried opening the project via VS Code's "Open folder" option, but then my project isn't recognized by the extension as an MCU project.
If I manually add the folders that are added when I import a copy of the project, then I have build errors such as:
CMAKE_PROJECT_NAME not being present in the CMakeCache file, or the SdkRootDirPath not being determined.
I would really appreciate the detailed process for this.
Thank you!
The text was updated successfully, but these errors were encountered:
We'll change the behavior to be able to import a project in place.
Meanwhile, as workaround, you can import the project (as VS Code project) in another location, then copy that location content over the original IDE project location (this will basically add the .vscode and armgcc directories) then import the IDE resulted project dir using File -> "Add Folder to Workspace".
Hello @cristitep-nxp ! I managed to do it manually, I had to update paths of course, and some CMake settings got mixed up or lost during the process so I needed to edit those. But I managed to get the result I wanted.
Thanks for your reply and looking forward to the feature!
Hi all.
I have a project that is being tracked in git and so far was developed on MCUXpresso IDE.
What is the procedure for importing this project to VSCode while keeping it in the same folder so that git can see the changes?
If I import it via "Import Project" it doesn't let me keep the project in the same folder and I have to make it in another, obviously causing git to not see the following changes made on the project.
I tried opening the project via VS Code's "Open folder" option, but then my project isn't recognized by the extension as an MCU project.
If I manually add the folders that are added when I import a copy of the project, then I have build errors such as:
CMAKE_PROJECT_NAME not being present in the CMakeCache file, or the SdkRootDirPath not being determined.
I would really appreciate the detailed process for this.
Thank you!
The text was updated successfully, but these errors were encountered: