Question
C++ support of stm32cubeide does not work.
in default situation, you could not call c++ function in C file.
So the main.c is not suitable file in C++ project.
if user choose C++ project,the generated main.c ,stm32h7xx_it.c should sufixed with .cpp.
