Skip to main content
Gaston
Associate III
March 11, 2022
Question

C++ Project that creates C main file

  • March 11, 2022
  • 0 replies
  • 809 views

If I create a C++ STM32CubeIDE project the main generated file is a C file (main.c) and I have to rename this to main.cpp every time I update pinmux, drivers, etc in order to call C++ functions.

This bug is confirmed by another user that proposes a workaround. Meanwhile I think STM32CubeIDE team could fix it in next release.

gaston

This topic has been closed for replies.