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

SDIO 4-bits mode - STM32F446RET6 Cube

For the project where the goal is uSD data writing I use STM32F446RET6. When I try to use SD 1bit there seems to be no error. f_mount and f_open works fine and I can write whatever I want but when I try to use 4 bit mode neither of these functions wo...

MertRonom9_0-1719942264059.png MertRonom9_1-1719942288837.png MertRonom9_2-1719942345760.png

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
  • 1500 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
  • 662 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
  • 3032 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
  • 1138 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
  • 812 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...