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

Task runtime usage for ThreadX in STM32CubeIDE

Hi,In How to enable FreeRTOS™ Run Time and Stack Usage view, it shows we can see the task runtime usage in percentage for FreeRTOS. But for ThreadX, it has no such item.  As there is an 'execution_profile_kit' utility tool in ThreadX already, any pla...

Resolved! Yet another "Failed to execute MI command" problem...

Hi guysThis project here was built and debugged fine last week. Today, I get this message:'Launching has encounteres a problem. Error in final launch sequence: Failed to execute MI command: -environment-cd <Path/to/project> Error message from debu...

err msg.png
White_Fox by Associate III
  • 4105 Views
  • 5 replies
  • 3 kudos

formula for pwm generation

hi im using stm32g474vet6 mcu, i want generate centrealigned mode pwm of 5khzhow to generate 5khz pwm in centre aligned mode, how to calculate the ARR value for 5khz, since my timer1 clk is 170mhz im not doing any prescalar.can some share the formula...

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
  • 1438 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
  • 312 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...