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
  • 1440 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
  • 562 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...

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
  • 1788 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
  • 2370 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
Niupitang by Associate II
  • 1111 Views
  • 1 replies
  • 0 kudos

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
  • 7235 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
  • 3485 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
  • 2240 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
  • 6513 Views
  • 2 replies
  • 0 kudos