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
  • 343 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
  • 5253 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...

Resolved! Missing definition of type "SPI_HandleTypeDef"

I have configured a STM32 project in the ioc interface to use SPI2 - I can see it having the green check mark in the ioc interface. However when I generate code I don't see any spi driver header, and when compiling I get a:error: unknown type name 'S...

slai-nick by Associate II
  • 2926 Views
  • 4 replies
  • 2 kudos

change the update period of the live expression view

Hello,I will debug a application on the STM32G030F6 which are use to 90% the low poer sleep mode. For this I will show the changes of variables in RAM and Flash also the changes of SFR from the MCU hardware like SPI in real time. I will also manipula...

bm2 by Associate III
  • 1217 Views
  • 2 replies
  • 0 kudos

Can't install STM32CubeIDE in Ubuntu 23

Getting the below error while installing The following packages have unmet dependencies: st-stm32cubeide-1.12.1 : Depends: libpython2.7 but it is not installableE: Unable to correct problems, you have held broken packages.

Raees by Associate III
  • 13634 Views
  • 10 replies
  • 18 kudos

How can I change UI size in .ioc file view?

Hello community!!I'm using Ubuntu 22.04 with 4k monitor and my fractional scaling set to 175%, and this is what I get in STM32CubeIDE .ioc file view, which is too small to read.I tried toggling some font settings in Window > Appearance, but didn't wo...

AO7_0-1712289415455.png
AO7 by Associate
  • 2764 Views
  • 4 replies
  • 4 kudos

Resolved! Can't debug - no such file or directory

Hello,I recently bought a NUCLEO-F412ZG and shortly downloaded STM32CubeIDE.However, I only tried to debug and launch the generated program, without changing anything, and came across this error message :Checked the path, all is good. I can't seem to...

leamrl_0-1720533244736.png
leamrl by Associate
  • 2352 Views
  • 3 replies
  • 5 kudos

Resolved! 'used' attribute Appears Ineffective

Hello,According to the manual , "This attribute, attached to a variable with static storage, means that the variable must be emitted even if it appears that the variable is not referenced."In the following code, unreferenced_variable is always discar...

Kier by Associate III
  • 7951 Views
  • 23 replies
  • 5 kudos

Resolved! ADC won't start after Cube upgrade

Hi,I have a project on Nucleo board with STM32U575ZIT6Q. I'm using STM32CubeIDE.My ADC worked fine until i did this:After migration HAL_ADC_Start function returns error.When I generate code I use this setting:What is wierd, is that if I unselect this...

migration.PNG code gen.PNG
S-E by Associate II
  • 2210 Views
  • 8 replies
  • 4 kudos