STM32CubeMX for SW4STM32 : where is c++ compiler ? Posted by sdraack on 2020-06-16 12:40 Hey, you may have the same problem as I had: you also have to rename your "main.c" file to "main.cpp" if you try to include and instantiate your classes. Best regards, Sebastian