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

We are pleased to announce that the minor version 2.1.1 of STM32CubeIDE is available. What is new in 2.1.1: This release covers the topics listed below: SEGGER J-Link GDB server updated to 9.24 to fix an issue with the Live Expression view during the...

Aimen1 by ST Employee
  • 1085 Views
  • 0 replies
  • 1 kudos

STM32CubeCLT 1.21.0 released

We are pleased to announce that STM32CubeCLT 1.21.0 release is available. What is new in 1.21.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.1.0Update of Clang/LLVM toolchainUpdate of GCC to GCC 14Update of STM32Cu...

Aimen1 by ST Employee
  • 470 Views
  • 0 replies
  • 0 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...

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 III
  • 4200 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
  • 33106 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
  • 8479 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
  • 4873 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
  • 5236 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
  • 1487 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
  • 7178 Views
  • 4 replies
  • 0 kudos