Hi,
I converted the dspi_half_duplex_int_master SDK for the K22F from a C project to a C++ Project according to this Guide: From C to C++: Converting Eclipse C Projects | MCU on Eclipse and this works. The example work and that's fine.
Now I want to integrate some external Code written in C++ into it. This includes a .h file and a .cpp file with classes that I want to adapt using some function from the dspi_half_duplex_int_master (Let's call them MyClass.h and MyClass.cpp). This leads to the following 2 Problems:
I came across this thread Solved: Issues with using C libraries with C++ files - NXP Community but have no libraries in the linker settings that I can switch around. Any ideas?
Kind regards!
No such problems here...
Is it *really* a C++ project. To check, open the project Properties, C/C++ Build->Settings - Is the MCU C++ Compiler shown?
Otherwise, can you export your project (or a version that reproduces the problem) and post it here, so that somebody can identify the issue.
Just checked the project settings. Yes, the MCU C++ Compiler is shown: