Hey guys,
I started to work with an existing K64 project.
However i could not get c++ to run (Constructors and destructors are not getting called).
Therefore i decided to
1) take a clean K64 project,
2)try to get this to run on my target
3)and hence convert it to c++.
(first question: is there already an example c++ project out there?)
However this is easier said than done.
Unlike ST NXP does not seam to offer anything like CubeMX (or i haven't found it).
I did come across the MCUXpresso SDK Builder. I did select my MCU "MK64FN1M0VDC12" and selected "build"
However the "GCC Arm Embedded toolchain" fails to compile when i run the provided shell scripts (several CMAKE errors).
After failing the GCC Arm embedded toolchain i tried the MCUexpresso IDE version. What version do i have to select from this dialog?
The SDK Archive or the Config Tools Data?
Could you help me figure out how to get this program to run
Hello Julian Heni
Unfortunately we don’t have any c++ example. I suggest you to take a look at this link https://isocpp.org/wiki/faq/mixing-c-and-cpp for mixing C and C++.
On the other hand, the file you have to download is the SDK archive, please refer to this video to import an example https://www.nxp.com/video/mcuxpresso-ide-importing-sdk-example-project:MCUXPRESSO-IDE-IMPORTING-SDK-EX
The config tool is an integrated suite of configurations tools that helps users with the development on arm processors.
Let me know if it helps.
Best Regards,
Omar