AnsweredAssumed Answered

C++ in a C project

Question asked by holt.andrew on Nov 24, 2016
Latest reply on Dec 7, 2016 by Liviu Ionescu

I am working on a project with the following

NUCLEO-F401RE board
AC6 IDE

A freeRTOS project with, currently, 2 tasks.

I want to add a C++ class, with C wrappers into the project.

I can add the files, with .cpp extensions but the eclipse doesn't compile the files.
I have managed, by a set of fairly elaborate steps to 'hack' something, but I can't believe that there is no simple way to do this.

Any advice appreciated,



Outcomes