Converting a driver library to C++

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Converting a driver library to C++

421 Views
sriramchadalava
Contributor III

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.

 

Thanks,

Sriram

Labels (1)
0 Kudos
0 Replies