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

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
  • 25677 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
  • 6242 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
  • 3133 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
  • 3328 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
  • 844 Views
  • 1 replies
  • 0 kudos

Resolved! "Could not find the path to "ST-Link_gdbserver"".

Hi, I am running the vscode extension on ubuntu 22.04, and am getting the following error when trying to start a debugging session: "Could not find the path to "ST-Link_gdbserver". Ensure STM32CubeIDE is installed.". I have tried reinstalling the lat...

JRobb.2 by Associate II
  • 5194 Views
  • 4 replies
  • 0 kudos

STM32CubeIDE issue initializing Debugging

I have been having this issue reoccuring and has only started in the past month. I have upgrade and downgraded versions (currently back at 1.12.0) with hopes to fix it and while it goes away for a bit and I am able to work with the live debugging for...

RMack.1 by Associate II
  • 1567 Views
  • 3 replies
  • 0 kudos

programming STM32 in assembly language

i have used HAL and LL for programming the STM32 using IAR and STM32IDE.But for the academic purpose i want to use assembly programming.Any guidelines how to use assembly in IAR or STM32IDE

NSing.5 by Senior
  • 1051 Views
  • 1 replies
  • 0 kudos