Skip to main content
July 8, 2026
Question

STM32CubeMX2 Cpp support

  • July 8, 2026
  • 1 reply
  • 38 views

Hi all,

I am wondering if CubeMX2 + STM32C562RE are able to support cpp main applications?

 

Thanks in advance

1 reply

Sara BEN HADJ YAHYA
ST Technical Moderator
July 15, 2026

Hi ​@roroc0, and welcome to the ST Community,

STM32CubeMX2 cannot generate C++ files. However, after project generation, you can include C++ files in your project and use them.

Please do not hesitate to get back to me if you need more details or further assistance.

Regards,
Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.