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

stm32 I2c won't send data

I am trying to get to use I2C on my stm32L4R5ZIT-P.i am trying to configure a sensor by sending data but the I2C pins wont give a signal?i dont ude interups or DMAthese are the pins that i use and the setting for I2C: this are the includes i usethis ...

fontys_student_2-1705416583285.png fontys_student_1-1705416526079.png fontys_student_3-1705416909107.png fontys_student_4-1705416964693.png

Resolved! .ELF mismatch issue

If i compile the same source code in different pcs using same STMCUBE IDE version , Whether i will get same .ELF file?In my case, If i do a comparison(using beyond compare),its not matching and there are significant difference between the two .ELF fi...

KJ.4 by Associate III
  • 1210 Views
  • 2 replies
  • 1 kudos

STM32L010 - printf debug

Hello together, I developed a PCB with the STM32L010RBT6 on it and I would like to debug with printf. I connected the SWD Pins (3.3V, SWCLK, SWDIO, GND, NRST) to my Nucleo F446RE kit for SWD debugging. So far so good I can now debug in the CubeIDE bu...

Claus_CE by Associate II
  • 2544 Views
  • 4 replies
  • 1 kudos

Resolved! Reading data from lis3mdl magnetometer with NUCLEO-L412KB

I've been trying to read data from the OUT_X register of the LIS3MDL using a NUCLEO-L412KB, but I'm not getting any meaningful data output. When I move the device around, the output data doesn't change. I've connected CS to 3.3V and SDO to ground. Wh...

mvari by Associate II
  • 2977 Views
  • 4 replies
  • 0 kudos

Issue with ST VSCode STM32 extension.

Hello, I have been using the VSCode STM32 extension on my project for some time and it has been working well. Today, I was doing some major refactoring of some of the code, and this required deleting one of the files no longer required. Unfortunately...

SidPrice by Associate III
  • 2342 Views
  • 3 replies
  • 0 kudos

Resolved! Different optimization level and different assembly code

I have following code snippet, when I compile it with -O0 optimization level it gives below assembly code and I can observe value address on Expression window. But when I compile it with -O3 optimization level I couldn't observe address of value. Whe...

lre1_0-1705427650708.png lre1_3-1705427765575.png lre1_5-1705427949908.png lre1_4-1705427909358.png
lre.1 by Associate II
  • 1293 Views
  • 2 replies
  • 4 kudos