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

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

STM32CubeIDE 1.18.1 released

We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed i...

STM32CubeIDE 1.18.0 released

We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM...

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
  • 2336 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
  • 25190 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
  • 6170 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
  • 3048 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
  • 3251 Views
  • 5 replies
  • 0 kudos

Zephyr SPI Codes Translation for The STMCubeIDE

Hello, I am working on the SPI interfacing with STM32F4 microcontroller. I found an application which was written Zephyr. My aim is translating that code in to STM32CubeIDE format. Could you help me on this?Here is the code, static u16_t tx_buffer[1]...

AE104 by Senior
  • 817 Views
  • 1 replies
  • 0 kudos