7 years, 7 months ago.

Is it possible to use C instead of C++ in the online mbed compiler for STM32 ?

Is it possible to use C instead of C++ in the online mbed compiler for STM32?

1 Answer

7 years, 7 months ago.

Yes, name your files .c and they are compiled as c files. Do take into account the mbed library is C++ and cannot be used in .c files. Just not using C++ features might be easier than really compiling as C, but it is possible.