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
Thanks very much for your report, I will create an report to modify the process of Refresh SDK on the next release
Best regards
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