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

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
  • 2224 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
  • 524 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
  • 2760 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
  • 1053 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
  • 1081 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 : )