C++ main.cpp generation
Dear ST,
Do we have a functionality to generate main.cpp from CubeMX? HAL supports C++ and it is possible to make project C++ by renaming main.c to main.cpp, but after regeneration you just get new main.c without your code, so again need to merge it manually with existing main.cpp. This is very annoying and would be very useful to be able to generate file main.cpp in CubeMX and CubeIDE directly.
Do we have an easy solution to fix it? If not, is it planned to be implemented in user friendly way in CubeMX?
Thank you.