How to properly convert c ++ project?
I have used the STM32CubeMx(ver 4.15) to generate a source code,and import in SW4STM32(4.5.2).
Now, I want to use class in main.c, so I right-click on project folder -> Convert to C++ and rename “main.c” to “main.cpp”.
I also search all containing text “main.c” and change to “main.pp” in this project, but still show few errors.
How to properly convert c ++ project?