STM32, CubeIDE – Conversion of project to C++
1) Right click on the project and select “Convert” to C++ 2) Rename main.c to main.cpp 3) Inside each C header file (xxx.h) close whole C code into this:
1) Right click on the project and select “Convert” to C++ 2) Rename main.c to main.cpp 3) Inside each C header file (xxx.h) close whole C code into this: