How to configure STM32CubeIDE to support C++ development?
1. How to configure the IDE to use g++ compiler to compile all the files includes "*.c" files in the project?
Current it compiles the .c files by using gcc and .cpp by using g++ ...
2. If I rename main.c to main.cpp, the cube code generator will create a new main.c file instead of using main.cpp. Any sulotions for this?
Becasue main.c is .c file, so the IDE use gcc to compile this file, and this caused that I can't use any objects in it. But if I changed the main.c to main.cpp, the cube can't generate code into it...:face_screaming_in_fear:
