How to copy a project to a new project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to copy a project to a new project

Jump to solution
380 Views
jDrum1
Contributor II

I have been developing a project in the MCUXpresso IDE (chip LPC11U68) for several years.

I would like to use the same chip on a different PCB and need to generate a new project in the workspace.

The problem seems to be

1)  I can copy a project and rename it and open it in the IDE.  However, the quickstart menu shows project:  CNew[none].   I assume that the settings folder and the .project file (both xml) both need to be implemented properly.   Additionally, the project tree in the workspace seems to be different in the copied version.

2) alternatively, I can use the new project wizard  and get the project CNewj .  Here, the project can be built but is otherwise empty.  In principle, I can copy the proper files into the new project and build again, but this will take a couple of hours.  (I need to repeat this process for two additional PCBs as well.)

Any suggestions?

jDrum1 (used to be jDrum) 

Labels (1)
0 Kudos
Reply
1 Solution
289 Views
jDrum1
Contributor II

Thank you for your response @Alice_Yang !

Our original problem was that the MCUXpresso IDE had hidden (from us)  the project to copy.  It was indeed in the proper workspace, but the project had originally evolved from one of the example projects, namely FreeRTOS_Blinky (many years ago).  None of that code was still present but the project name remained.

Our solution was to continue with the new project  generated with the new project wizard and add the files one by one according to the build errors.

one hint:  There were still errors from the eclipse build that were listed in the "problems" screen.  It turns out that there is a quick fix for many of these errors.  Just press control 1  to go to the error.  A quick fix button will solve the problem!

jDrum1  (formerly  jDrum)

View solution in original post

0 Kudos
Reply
3 Replies
290 Views
jDrum1
Contributor II

Thank you for your response @Alice_Yang !

Our original problem was that the MCUXpresso IDE had hidden (from us)  the project to copy.  It was indeed in the proper workspace, but the project had originally evolved from one of the example projects, namely FreeRTOS_Blinky (many years ago).  None of that code was still present but the project name remained.

Our solution was to continue with the new project  generated with the new project wizard and add the files one by one according to the build errors.

one hint:  There were still errors from the eclipse build that were listed in the "problems" screen.  It turns out that there is a quick fix for many of these errors.  Just press control 1  to go to the error.  A quick fix button will solve the problem!

jDrum1  (formerly  jDrum)

0 Kudos
Reply
134 Views
jDrum1
Contributor II

Another hint:

If you get a lot of linker error messages like "can't fine _sys_read_"

the library is not yet set to host or semihost.  

In the IDE go to quick settings -> set library/ header type.   

There, set Redlib (semi host) or one of the other choices.

jDrum1

0 Kudos
Reply
352 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi @jDrum1 

Thank you for contacting us.

You can use the "Import Project" button in MCUXpresso IDE to import your project. I’ve recorded a short video demonstrating the detailed steps and attached it for your reference.

Please let me know if you have any questions.

 

BR

Alice

0 Kudos
Reply