C++ Project for System Workbench
I have a project generated from STM32CubeMX for STM32F439x and I was able to compile the code and run with system workbench. Now, I would like to include C++ files into the project. When I add any .cc or .cpp file, I don’t see the make command invoking the call for the newly added file.
Is there any special procedure that you have to do in order to support C++ files? Has anyone compiles C++ files with System Workbench?
I tried converting main.c to main.cpp and the linker can’t link the main function ( I am assuming since the file isn’t being compiled by gcc?)
Thanks in advance!
-Rup