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! 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
  • 1310 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
  • 2534 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
  • 26288 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
  • 6313 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
  • 3238 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
  • 3404 Views
  • 5 replies
  • 0 kudos