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 2.1.1 released

We are pleased to announce that the minor version 2.1.1 of STM32CubeIDE is available. What is new in 2.1.1: This release covers the topics listed below: SEGGER J-Link GDB server updated to 9.24 to fix an issue with the Live Expression view during the...

Aimen1 by ST Employee
  • 1427 Views
  • 0 replies
  • 1 kudos

STM32CubeCLT 1.21.0 released

We are pleased to announce that STM32CubeCLT 1.21.0 release is available. What is new in 1.21.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.1.0Update of Clang/LLVM toolchainUpdate of GCC to GCC 14Update of STM32Cu...

Aimen1 by ST Employee
  • 558 Views
  • 0 replies
  • 0 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 III
  • 4452 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
  • 9595 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
  • 18196 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
  • 2336 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
  • 2219 Views
  • 3 replies
  • 1 kudos