Now that KSDK 1.2 is supposedly C++ compatible, I'd like to move my applications to C++. However, every time I generate code in PEx, it creates a C file instead of a CPP. Is there a setting somewhere? I've been looking around for any setting that might tell PEx that I want to make a C++ project, but I can't find one. For example, this is all I see in Project Settings -> Processor Expert:
I haven't really ever mixed C and C++ before. I am entirely in one language or the other. I would think that *everything* has to change, not just main. Since my tasks are intended to communicate with hardware via classes that I define, and since the tasks need to then be written in C++, that means all code that PEx generates (except the FSL HAL/DRV code) like MQX tasks also need to be generated as C++.
Has anyone here successfully created a KSDK/MQX/PEx C++ project that they can share as an example? There isn't anything like this in the installed demos and examples. I did find this post here Creating a new MQX project using GCC C++ that specifically talks about MQX and CodeWarrior, and I found the BSPCFG_ENABLE_CPP #define and changed it, but it didn't seem to change anything.