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
  • 178 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
  • 3470 Views
  • 0 replies
  • 3 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...

Examples do not always run/compile ?

I'm really confused with these examples. I started a new project using the Cube IDE and all works perfectly. I was never a fan of Cube IDE ( 2015 ) but coming back to ST and using Cube IDE I have to say it is rather nice. ... Until you run any examp...

ulao by Associate III
  • 872 Views
  • 3 replies
  • 0 kudos

Resolved! Linker error using static library

Hello,I use an open source projet (open62541 on github) to get OPC-UA implementation over lwip.When my projet is compiled with open62541 source code, it's works without error.But the 2 files generated 'open62541.c' and 'open62541.h' are very big (aro...

thln47 by Associate III
  • 1717 Views
  • 2 replies
  • 0 kudos

Debug issues

I defined a structure in the H file and entered the Debug mode to observe it, but in single-step debugging, whether it is Expressions or live, the changes are always inconsistent, and I have not checked this structure elsewhere. Assignment, what is t...

0693W00000Uoi3JQAR.png 0693W00000Uoi3OQAR.png

How do we check code coverage on STM32?

I am using STM32L4 for my application and I want to do code coverage on my controller to see how it performs. How can I do that? Is there any tool or is there any in-built feature in STM32CubeIDE which I can use?

SBhon.1 by Associate III
  • 5010 Views
  • 10 replies
  • 0 kudos

Display problem in the IDE with #if and #ifdef

Hello, I am working on a project with a dual core processor (H7) and I have some display problems in my IDE (STM32CubeIDE v1.9.0). For example, I added the LWIP part to my board with #define LWIP_IPV4 1 and #define LWIP_DHCP 1.When I am in debug mode...

MA4 by Senior
  • 1870 Views
  • 6 replies
  • 0 kudos

STM32L476 comparator constantly generates an interrupt

Hi. I configured comparator with neccessary settings using CubeIDE and LL library and got next generated piece of code: COMP_InitStruct.PowerMode = LL_COMP_POWERMODE_HIGHSPEED; COMP_InitStruct.InputPlus = LL_COMP_INPUT_PLUS_IO1; COMP_InitStruct....

ARa.2 by Associate II
  • 1531 Views
  • 2 replies
  • 0 kudos

Resolved! Failed to enable Live Expressions. Connection failed

Can't enter into the debug mode on the development branch, but when I switch to master branch I can normally use the debugger. Difference between master and dev branch is minimal, and projects settings and debugging configuration is the same. I've tr...

0693W00000UoXLHQA3.png 0693W00000UoXK5QAN.png
DCind.1 by Associate
  • 4973 Views
  • 2 replies
  • 0 kudos