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
  • 95 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
  • 3057 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...

Resolved! Cannot build X-CUBE-SPN2 in CubeIDE

Hi All,  I am trying to import the X-CUBE-SPN2 in CubeIDE, I have followed all the correct steps and am importing the project through the filesystem. However, when I try to build the project I constantly keep getting an error stating that: An interna...

Cash by Associate II
  • 1112 Views
  • 2 replies
  • 0 kudos

How to use available examples in general

 In the above examples the .ioc file is missing. Usually when am unable to open the ioc file, I'll try to open the same ioc file in cube mx and generate the code for stm32 cube ide or I'll update the version of cube ide to migrate to the newer versio...

Screenshot 2025-01-17 184904.png

Target disconnected error

Hi.I have recently encountered a problem that I'm not capable of solving in for a few hours now.I'm using STM32F042K6T6 as a uC and, when I try to debug my projet, it shows me the following errors:Failed to execute MI command:target remote localhost:...

ItzNicolo by Associate II
  • 3525 Views
  • 4 replies
  • 1 kudos

Resolved! Avoiding the "variable set but not used" warning

This may be such a basic question, that I may be embarrassing myself here. Not even sure if I've selected the best fitting location...I like to keep a "clean slate" when compiling, that is, no warnings should be present. It makes it easier to see if ...

EThom.3 by Senior II
  • 5660 Views
  • 10 replies
  • 7 kudos

Package management, why to copy all files?

I'm highly confused. Coming from Keil MDK, I really enjoyed the CMSIS-Pack approach to manage dependencies. A MCU (and vendor) independent and efficient approach which works in command line and various IDEs (Keil MDK, VSCode with plugin, Eclipse). Se...

JKapp.1 by Associate III
  • 2125 Views
  • 16 replies
  • 6 kudos

Resolved! CubeIDE closes itself

Hi, I'm going crazy over here because the stm32cubeIDE closes itself a few seconds after loading. Literally, I double-click on the icon, the program comes up, and sometimes after 5, 10, or 20 seconds, it closes itself. After cloasing a small window a...

DBrug.712 by Associate II
  • 9940 Views
  • 17 replies
  • 4 kudos

Resolved! IDE 1.17 Crash after few seconds

Hello I have answer in other post that shows  a solution but it didn't work, I am looking for a different or better solution than uninstalling and erasing the keys of the registers. I have copied repository and workspace folders from an older compute...

Resolved! Managing multiple configurations

Originally a reply to this, but is a separate discussion.I've been playing with build configurations, working set, etc, for a while.I know it's Eclipse and CDT's fault, not STM's. But it's SOOOOOOOO confusing, and there must be a solution. So far, I'...