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 STM32Cube project creation issue

Description In STM32CubeIDE version 1.18.1 and older, after selecting any MCU or MPU when creating a new project, the STM32Cube option becomes greyed out. This means only empty projects can be created, and STM32CubeMX initialization is not available ...

SemerCHERNI_0-1752684873535.jpeg

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

Resolved! UART Output slow with DMA

I recently wrote some code with the help of stack exchange regarding an MQ2 gas sensor. I needed to alter the code to use DMA as the MCU I'm using for the project only has one ADC channel. My goal was to measure the ADC value of the MQ2 sensor along ...

DRicc2_0-1719884566213.png
DRicc.2 by Senior
  • 1463 Views
  • 6 replies
  • 2 kudos

cube ide code generation issue

hi all, ive recently got my stm32 board and wanted to start programming on it asap. i downloaded the cube ide, created a project, and when i wanted to generate the c code for extra additions nothing was generated. does anyone know what could be the i...

sagi_1 by Associate
  • 639 Views
  • 2 replies
  • 2 kudos

Resolved! Accessing a memory section defined in the linker script

[Apologies in advance if this question has been asked a thousand times. I just didn't know how to search to get the answer that I'm looking for.] I defined a section in the linker script to store version information. However, I'm unable to figure out...

JohnnyB by Associate II
  • 2901 Views
  • 5 replies
  • 2 kudos

Need help spinning up an old project

Hi all,I've been tasked with making some changes to an existing STM32 project. Unfortunately my predecessor was not keen on documentation, so I don't have much guidance on how the project was built in the past.I have pulled the project from our SVN s...

TomC1 by Associate III
  • 1079 Views
  • 4 replies
  • 1 kudos

Resolved! decimal places in expression window

I'm quite new in STM32CubeIDE.Working with the "live expression" tab during debugging I wonder if there is a possibility to format the output e.g. for a float value in the decimal value ?Here:  1.43924809 to 1.42 

CubeExpression.jpg
UweH by Associate
  • 776 Views
  • 1 replies
  • 1 kudos

Local variable overwrite global variable

Hi,I'm facing a problem in the managing of local variables on STM32WB50CG with the STM32CubeIDE version 1.14.1.Specifically, the code must perform a write via the sprintf function on a local variable (allocated at address 0x20009bd8).ALL the writings...