Sriram Chadalavada

Converting a driver library to C++

Discussion created by Sriram Chadalavada on Mar 12, 2013

Dear community,


I'm working with Codewarrior 10.2 and writing MQX 4.0 applications for Kinetis tower module.

Currently, I'm trying to refactor the SPI driver code and make the higher layer more object oriented. I was wondering if I could use compile the existing .c files using C++ compiler and then add C++ code where required.

Can anyone please help withe the settings for the compiler, linker and includes so that I can do the above?


I already tried searching but did not find any relevant discussion.