C++ project is not working after Refresh SDK Components

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

C++ project is not working after Refresh SDK Components

924 Views
petrolivka
Contributor II

Hello, 

  I found problem with C++ Project in MCUXpresso. A new file startup_LPC824.c is added into subdirectory startup during Refresh SDK Components even a file startup_LPC824.cpp already exists there. Both files are the same.
  During project build both files are compiled to the same startup_LPC824.o file and the compilation of startup_LPC824.c in the second step overwrites startup_LPC824.o and no duplicate symbols appears. But. The compilation of startup_LPC824.c is the compilation of a C file, thus its C++ parts are not compiled and the program is not working well after upload into MCU.
  So please modify the process of Refresh SDK to avoid copy the second startup file into project.

Many thanks, Petr 

 

0 Kudos
Reply
2 Replies

880 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

Thanks very much for your report, I will create an report to modify the process of Refresh SDK on the next release

Best regards

0 Kudos
Reply

891 Views
lpcxpresso_supp
NXP Employee
NXP Employee

We acknowledge the problem - thanks for reporting it. We'll probably come with a fix in the upcoming IDE v11.8.0.

On the other hand, I've just had a quick look at several SDK definitions and only startup files seem to be mishandled when dealing with a C++ project. Without a fix in place, please manually delete the incorrectly added C startup file.

Regards,
MCUXpresso IDE Support