How to import existing MCUXPRESSO IDE project into VS Code?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to import existing MCUXPRESSO IDE project into VS Code?

780件の閲覧回数
mimlo
Contributor IV

Hello,
I'm using MCUXPRESSO IDE v24.12.148 and I wanted to start using VS Code rather than IDE, since it's been provided with a dedicated plugin some time ago.

I have a dual core project for IMXRT 1176 microcontroller, which I have configured from MCUXPRESSO IDE. Projects are set to be build with makefile generator method rather than CMake. I'd like to move to CMake as a build method, but I figured that maybe I should first move to it VS Code.

I'm having a problem where VS Code plugin does not detect my project.
So it;s either something missing there that I deleted while a bunch of stuff was generated upon project creation (I do not want to keep unneeded files on git), or there is something else that I'm not seeing.
I saw some articles and videos instructing a user on how to use VS Code plugin but all of them relied on importing projects from SDK, and not something that was already existing as a project in development, but using eclipse based MCUXPRESSO IDE.

Could you please point me to an instruction/guide/manual that says how to do that kind of project transition?
What kind of files is the VS Code plugin looking for when one tries to import the existing project?

BR,
Michael

0 件の賞賛
返信
4 返答(返信)

733件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @mimlo,

You should be able to import existing MCUXpresso IDE projects using the "Import Project" button as usual. Does this issue happen as well with example projects that you created on MCUXpresso IDE? Or is your project the only one where you see this issue?

BR,
Edwin.

0 件の賞賛
返信

687件の閲覧回数
mimlo
Contributor IV

Hi @EdwinHz,
Could you please provide me with an information regarding what files are required by the vs code mcuxpresso plugin to successfully import a project?

I found no mention of those files anywhere so that's why I'm asking you.

I know that there are files like:

  • .cproject
  • .project

but I have those, anything else that is required to be there?

Thanks,
Michael

0 件の賞賛
返信

717件の閲覧回数
mimlo
Contributor IV

HI @EdwinHz,
I just did additional tests and I can confirm that example projects work fine.
The issue is on my end, that for some reason, this particular project can't be imported.

I'm probably missing some file that the plugin expects - MCUXpresso IDE can open the project just fine.
What are the mandatory files that MUST exist in the location, where the MCUXpresso IDE created the project, to be imported successfully by VS Code plugin?

I probably got rid of one or more of them when I was doing clean-up.

0 件の賞賛
返信

654件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @mimlo,

I wouldn't be able to tell you exactly what file you deleted that caused the importing issue. But in order to be better understand the issue when importing the project, please share the log file generated by VS Code when trying to import the project. You should see an error window pop up as such:

EdwinHz_0-1747432684679.png

BR,
Edwin.

0 件の賞賛
返信