Main.c and main.cpp when mixing C and C++
We created an empty C++ project. Then, added some web-sourced .cpp and .hpp code into the directory. Compiled and debugged with ST-Link MiniE fine. Entry is main.cpp
In STM32CubeIDE, click .ioc and edit init code with STM32MX. STM32MX generates main.c instead of main.cpp where our code resides.
Many thanks
