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

How to add DSP static libraries in STM32CubeIDE.

I'm trying to compile my project including DSP libraries. I have a STM32F446RE Nucleo Board and I'm using STM32CubeIDE 1.3.1I'm getting an "undefined reference" error when using the FFT functions. The headers are found as the error would have been di...

0693W000000XDLSQA4.png 0693W000000XDMfQAO.png 0693W000000XDNdQAO.png 0693W000000XDNxQAO.png

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
  • 2109 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
  • 454 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
  • 2538 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
  • 978 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
  • 996 Views
  • 1 replies
  • 0 kudos