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.19.0 released

We are pleased to announce that the release 1.19.0 of STM32CubeCLT is available. What is new in 1.19.0: Support for ST Arm Clang toolchainMaintenance of the previous versionUpdated in accordance with STM32CubeIDE v1.19.0 Main fixed issues in 1.19.0: ...

Resolved! [Resolved] STM32CubeIDE project creation issue

Updated post to reflect permanent fix Dear STM32CubeIDE user, Further to the recent STM32CubeIDE project creation issue, we would like to inform you that a solution is now available for you. This permanent fix applies to all STM32CubeIDE versions. I...

STM32CubeIDE 1.19.0 released

We are pleased to announce that the release 1.19.0 of STM32CubeIDE is available. What is new in 1.19.0: Microcontroller, microprocessor, and board lists aligned with STM32CubeMX v6.15.0:Added the support for STM32MP21xx microprocessors to the STM32MP...

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
  • 950 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
  • 2589 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
  • 3445 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
  • 1511 Views
  • 16 replies
  • 6 kudos

STM32CubeIDE autocomple (content assist) not working

My autoomplete shows "no default proposals" when plrssing CRTL+Space and do nothin when typing "." or "->" or any other trigger...Some people solved this enabling "Parsing-based Proposals" in the "Content Assis -> Advanced" tab but mine is enabled an...

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
  • 8062 Views
  • 17 replies
  • 3 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'...