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
  • 293 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
  • 4289 Views
  • 0 replies
  • 4 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...

Error with .gdb file in STM32CubeIDE

Hello there,I am pretty new to STM32 and STMCubeIDE. My problem with STM32CubeIDE is that when I want o run it in debug mode I get this error:"Error with command: gdb --versionCannot run program "gdb": Launching failed"I could run this program yester...

BMano by Associate II
  • 2411 Views
  • 3 replies
  • 1 kudos

Code is broken once compile with optimisation enabled

Hi all,I have uploaded those important of part of the codes here to have expert review on where my code causing the compiler interpret wrongly when Optimisation is enabled.I have tested the code with Compile with none optimisation and it works withou...

STM32 USB HID MOUSE + FREERTOS

I've create a program with freertos. It's just writting a sentence in the console. I've decide to implement a usb hid mouse on this program. I've seen how to configurate this but when i'm just configurating it (changing anything on the code) it doesn...

BBrig.1 by Associate
  • 600 Views
  • 0 replies
  • 0 kudos

Strings in RAM and Flash and transfer them to function

HiHow can I put strings in fash memory in gcc compiler so that there is no copy in both memories. In 8bit AVR we need to use PROGMEM . How it is in STM32 gcc?The secong thing. If i have for example such a function void MyFunction( char *Stri(ng); wh...

sholojda by Associate III
  • 3008 Views
  • 5 replies
  • 2 kudos

Resolved! Cube IDE code generator

Hello! I have 2 projects for two different controllers: one is the STM32F767 and the second one is the STM32H753. I'm using the Cube IDE 1.3.1.I have noticed , that when I generate a code, the the file structure looks different for both of them even ...

0693W000000X9TwQAK.png 0693W000000X9U1QAK.png
Gregory3 by Associate III
  • 1148 Views
  • 2 replies
  • 0 kudos

Resolved! I2C with Nucleo - STM32F767ZI problem

Hi to all!I'm new to STM32, so i want to learn. I have a Nucleo-STM32F767ZI board and i try to interface this board with the MPU9150 sensor via I2c. The problem is that i can't able to communicate with the sensor. Using a logic analyzer i see that th...

Luca1 by Senior
  • 1205 Views
  • 1 replies
  • 0 kudos

When stepping through code the debug window gets the focus momentarily after each step, and then back to the main.c window. I don't remember this happening. Anyway to turn this off ?

I am using STM32CubeIDE on linux Also an aside the debugger is having problems finding source files even if I give it the correct {project}/Core/Src directory. When I give it the actual file it is happy. Thank you and have a productive day : )

stm32f103 USB hid library is not very useful

Im on that new CubeIDE, all updated. My MCU is f103.Making hid device, which should have a few reports, more than 1. So, i edited report descriptor, added reportID, added second report. Windows recognizes it just fine.But what a surprise, second repo...

VLuky by Associate II
  • 795 Views
  • 0 replies
  • 0 kudos