Solved
how to generate cpp project from stm32cube Mx
after selecting the pins from cube MX, it will generate code in c but i want that in cpp
after selecting the pins from cube MX, it will generate code in c but i want that in cpp
Hello
First make sure STM32CubeIDE is selected as the toolchain

After generating the code with STM32CubeMX , then open the project in STM32CubeIDE, right-click the project, and choose Convert to C++.

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.