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! Cube IDE latest update Bug

There is a bug in the new cube ide version in the lwip vonfiguration for the STM32F7 LWIP_RAM_HEAP_POINTER (RAM Heap Pointer) 0x30004000There is no such RAM location in the STM32F7. the correct value should be zero but better u guys check it. by the ...

msalem88 by Associate II
  • 1542 Views
  • 7 replies
  • 2 kudos

Code generation error with NUCLEO-F103RB

I am working on the blink led project on the Nucleo - F103RB, I facing error during the code generation process, the code isn't generating. Might be something with macbook, that i need to install any extra packages or something.Can someone plzz help ...

divraj by Associate
  • 345 Views
  • 1 replies
  • 0 kudos

Resolved! gcc int comparison undefined behavior

I found a different behavior, with or without optimization, that I can't explain me.In the code snippet  below, the value b is 0 if you compile without optimization and 1 with optimization enabled (-O1) (gcc ver 12.3.rev1).The only apparent differenc...

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
  • 994 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
  • 2879 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
  • 4117 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
  • 1730 Views
  • 16 replies
  • 6 kudos