STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.15.0 released

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

CubeMX and setting analog watchdog

When I try to select which channel gets a watchdog, it only gives me one option on the pull down. Instead, if I want to change the channel, I have to unselect all the ADC channels and make sure that the watchdog intended channel is the first one sele...

AndrewC_0-1754488831788.png
Andrew C by Associate III
  • 147 Views
  • 3 replies
  • 0 kudos

Resolved! Error with CMake in New Version 6.15.0

Today, while using the CubeMX product, I upgraded to version 6.15.0 (previously 6.14.1). After upgrade, the CMake step when generating project code failed. Even when generating an empty project, CMake still did not succeed. I also tried previously wo...

Mocozzz by Associate II
  • 766 Views
  • 12 replies
  • 4 kudos

Resolved! STMCubeMX replace the app_freertos.c. How to avoid

I'm developing an app on the demo board STM32U5A9J-DKI've created the project from TouchGFX 4.25.0 project STM32U5A9J-DK FreeRTOSIt perfectly works, compile and debug with both TouchGFX and CubeIDE 1.18.1I then opened the .ioc file of the project wit...

nico23 by Senior II
  • 318 Views
  • 3 replies
  • 1 kudos

Resolved! How to configure STM32CubeMX to support C++ development?

When I use CubeMX, the default language of my genereted code is C. I would like to develop in C++, as I can do in STM32CubeIDE. (I want to use VSCode to program)Is there any option to do this? I've tried just change the main.c to main.cpp, but it did...

Ade J.3 by Associate II
  • 17497 Views
  • 10 replies
  • 5 kudos

MX shows Clock Configuration error after updating

I just upgraded STM32CubeIDE from 1.17 to 1.19 which in turn upgraded MX from 6.13 to 6.15Prior to updating, in MX Clock Configuration I could clock the SPI system on the STM32H533 at the same rate as the CPU clock (250 MHz with no error). Now, to av...

Losing GPIO settings

In my project for an STM32H7S3, I have a number of GPIO settings.However, every time I open the file, one particular pin has its settings reverted to the defaults.Also, if I save the IOC file without making any changes at all, I can see in the diff t...

SteveMelnikoff_0-1752583991010.png

Resolved! STM32CubeMX 6.15.0, STM32H523CET6, TouchGFX

When the TouchGFX Graphics Application is selected, the supplementary TouchGFX code is generated; however, the TouchGFX library itself is not included in the project. I tried all available code generators, but none of them added the library.