STM32CubeIDE (MCUs)

Ask questions on STM32CubeIDE. Discuss how to build, debug, configure, and optimize your project as well as how to use our software tools.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeIDE STM32Cube project creation issue

Description In STM32CubeIDE version 1.18.1 and older, after selecting any MCU or MPU when creating a new project, the STM32Cube option becomes greyed out. This means only empty projects can be created, and STM32CubeMX initialization is not available ...

SemerCHERNI_0-1752684873535.jpeg

STM32CubeIDE 1.19.0 released

We are pleased to announce that the release 1.19.0 of STM32CubeIDE is available. What is new in 1.19.0: Microcontroller, microprocessor, and board lists aligned with STM32CubeMX v6.15.0:Added the support for STM32MP21xx microprocessors to the STM32MP...

STM32CubeIDE 2.0 release - early heads-up!

Starting from the release in November 2025, STM32CubeIDE and STM32CubeMX will be available exclusively in their standalone versions. STM32CubeMX will no longer be integrated inside STM32CubeIDE. Instead, the two tools will be interoperable in the sam...

Resolved! How to use headless build for continuous integration?

I'd like to check if any pull requests break the build by automatically running headlessbuild as part of CI.Unfortunately, there's a critical flaw with how STM32CubeIDE projects are setup, which makes this impossible.The headless build depends on con...

Miles1 by Associate III
  • 15945 Views
  • 7 replies
  • 1 kudos

Firmware Package of U5 Series for STM32CUBEIDE ?

Hello community,I want to program the STM32U5 series microcontroller and therefore need the firmware/embedded software package of the U5-series to use it with the STM32CUBEIDE program.It seems like it is not yet available in the STM32CUBEIDE as well ...

MPetr.3 by Associate III
  • 863 Views
  • 1 replies
  • 0 kudos

Autodiscovery not working for nested preprocessor defines.

Hello everybody,I am wondering why autodiscovery is not working for nested preprocessor defines. In the attached project you can see the "#define DERIVATE 7890" is in "config.h" file.In the "function1.c" file there is a block of #if ... #else .... #e...

MGhah.1 by Associate II
  • 627 Views
  • 2 replies
  • 0 kudos

Automatic array fill-up during compilation time

Hi,I want to store some calibration data inside the firmware that is running on my STM32H743. This calibration data would be stored in a specific address in a preallocated memory map. Another device would communicate with the firmware running on this...

HA87 by Associate III
  • 581 Views
  • 1 replies
  • 0 kudos

Increasing the variable when the button is pressed with Exti. When the variable reaches 5, the 500ms timer will turn on, the led will start flashing, when it reaches 10 the timer will turn off. This process will continue in multiples of 5 and 10. I

I am trying to do this but I cannot do it fully.MY MAİN CODE Even the slightest help will open my way. thanks/* Private function prototypes -----------------------------------------------*/void SystemClock_Config(void);static void MX_GPIO_Init(void);...