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
  • 185 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
  • 3486 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! Error in SFRs for STM32U575 in STM32CubeIDE

For the STM32U575 SFRs in STM32CubeIDE, the LPTIM1 DIER_output has a CC1IF instead of CC1IE.Also what is the difference between DIER_output and DIER_input ? And why are there bits name different ?

nicolas by Senior II
  • 1451 Views
  • 4 replies
  • 2 kudos

Why does CubeProgrammer often duplicate HAL drivers?

I am using STM32CubeIDE on MacOS. I am finding that very often, at least every other build, CubeIDE duplicates a bunch of drivers in the HAL driver folder. When that happens the compiler throws a bunch of "multiple definition" errors. To fix that I g...

0693W000007BAcFQAW.png

Debug multiple .elf files

Hello everyoneIn one of our projects we created a bootloader and the application. Both projects are located in a separate workspace in the STMCubeIDE v1.10. My goal is to setup the GDB debugger in a way, that I can start the debugger from the bootloa...

DZimm.9 by Associate II
  • 2974 Views
  • 3 replies
  • 0 kudos

STM32CubeIDE not including library files correctly

I am very new to STM32CubeIDE as I am switching from Keil to Cube. I included a library for an lcd and added the path of the library. The IDE does not recognize any functions defined in the library as I get the error "undefined reference to " functio...

ADP1114 by Associate II
  • 27951 Views
  • 18 replies
  • 2 kudos

Undefined reference possibly due to uncompiled file

I'm getting an error when building my code even if I do a Clean build. I *think* the problem is that stm32l4xx_ll_utils.c which contains the LL_mDelay isn't being compiled. Is this correct? Why is the compiler picking up all the other STM32L4xx_HAL_D...

CKohl.3 by Associate II
  • 6698 Views
  • 4 replies
  • 0 kudos

Resolved! Use of inlined functions

Hello,is there a difference in declaring a C function with the __INLINE resp. inline keyword or using __attribute__((always_inline)) besides the latter one generating a warning?regards Herbert

herbert by Associate III
  • 3700 Views
  • 2 replies
  • 1 kudos

Resolved! STM32 with External QSPI Flash & SDRAM execution

I am using STM32H7xx MCU with External QSPI Flash and SDRAM.I want to download my code using STMCubeIDE directly to External QSPI Flash and once done I want to execute the same code from SDRAM without compromising the debugging ability using STMCubeI...

DPila.1 by Associate II
  • 3790 Views
  • 5 replies
  • 0 kudos