Loading...
 
Skip to main content

System Workbench for STM32


mbed C++ code to add in an existing C project

Hello Bernard,

Thank you for your answer.

I tried your solution; this "Convert to C++" does not seem to do anything, or I can't see it !

Nervermind, I find a solution which seems to work here: https://isocpp.org/wiki/faq/mixing-c-and-cpp

So I've integrated some C test files on mbed and following the link above and this actually worked !
Note that you need a C++ Compiler to do this, that's why I found it easier to import C files on mbed.

Julien.