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

STM32CubeCLT 1.20.0 released

We are pleased to announce that STM32CubeCLT 1.20.0 release is available. What is new in 1.20.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.0.0Update of Clang toolchain version 19.1.6Update of GCC 13.3.rel1Update ...

Aimen1 by ST Employee
  • 311 Views
  • 0 replies
  • 0 kudos

STM32CubeIDE 2.0.0 released

We are pleased to announce that STM32CubeIDE 2.0.0 release is available. STM32CubeIDE is now independent from STM32CubeMX. With this release, device configuration, previously handled within STM32CubeIDE via STM32CubeMX, is now exclusively available t...

Aimen1 by ST Employee
  • 4605 Views
  • 0 replies
  • 4 kudos

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...

USB serial number size

As others before me, I wish to make my own serial number in a USB CDC device. This isn't the problem – I know how to do that.However, I am puzzled about how the unique serial number is generated in the code auto-generated in STM32CubeIDE. Specificall...

EThom.3 by Senior II
  • 3087 Views
  • 4 replies
  • 2 kudos

Multiple "expected expression before 'do'" errors

I'm new to STM32 and trying to bring up the STM32L053-DISCO project in STM32CubeIDE. It mostly comiles fine, but has an issue with the HAL defines, such as below:#define __HAL_RCC_GPIOA_CLK_ENABLE()  do { \                    __IO uint32_t tmpreg; \ ...

SHoll.1 by Associate II
  • 6386 Views
  • 12 replies
  • 1 kudos

printf hard fault

Whenever the compiler executesprintf("frequency %f: %f \n", ((float32_t)(i * SAMPLING_RATE) / FFT_BUFFER_SIZE), output_fft_mag);it goes to HardFault.I attach main.c and syscall.cAll the code that we need to analyze is inside the function void get_sin...

luke514_0-1698947305139.png luke514_0-1698949948629.png
luke514 by Senior
  • 10853 Views
  • 23 replies
  • 4 kudos

Resolved! FatFS missing on STM32 CubeIDE for STM32U595VJT6

I am considering the STM32U595VJT6 for use in an upcoming design, and found that when I looked on STM32CubeIDE that the FatFS Middleware is missing. Is this something that can be added to the project? Or is there a better alternative for interfacing ...

richardnuvetech_0-1704277055456.png

Resolved! Unable to updates STM32cube IDE to 1.14 (No repository)

Hi to all,my STM32CubeIDE 1.12 installation does not complete the update to version 1.14.During the update the error returns:An error occurred while collecting items to be installedsession context was:(profile=STM32CubeIDE, phase=org.eclipse.equinox....

ABatt.1 by Senior
  • 1694 Views
  • 2 replies
  • 2 kudos

Resolved! Controlling Rgb led using Timers in stm32

Hi, i am using Timers to control the intensity of a RGB LED. I need help with a code because I don't know why i have to do this thing.I have these lines:TIM1->CCR1 = Intensity; For Red ColorTIM1->CCR2 = Intensity; For green colorTIM1->CCR4 = Intensit...

Resolved! STM32cube ide

Hi people...I couldn't able to get live expressions on debug can anyone help me to find a solution 

SRAM11_0-1704191203347.png
SRAM.11 by Associate III
  • 1361 Views
  • 3 replies
  • 1 kudos