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

Resolved! STM32U545RE missing DCMI and PSSI

As in the subject, DCMI and PSSI are missing from STM32U545RETXQ configuration. According to documentation, this unit should support those interfaces. Is that correct? Regards

mk11 by Associate
  • 1375 Views
  • 3 replies
  • 5 kudos

STM32CubeIDE Indentation and Generate Code

Whenever I generate code, the indentation is always 2 characters.Even though the indentation is set to 4 characters in the settings,it continues to be generated as 2 characters except for the user code.Formatter > IndentationTab Policy : Spaces OnlyI...

hardrock by Associate III
  • 6823 Views
  • 10 replies
  • 7 kudos

Resolved! STM32CubeIDE - Prebuild command - Git error

STM32CubeIDE v1.15.1Git v2.45.1.windows.1Windows 11 The software project includes the pre-build command,"git log --pretty=format:'%H' -n 1 > git_hash.h" (format string simplified for this post)On a fresh install on a new PC the following error preven...

Scott_DeltaDev_1-1717628912723.png

STM32CubeIDE build randomly started failing

I started getting the build error "Fatal error: invalid -march= option: `armv7e-m+fp'" while testing my code. It first happened after I changed a numeric #define value in my application code but I tried changing it back to what it was and I continue ...

STMCubeIDE V1.15.0 Build Errors

I had a project that I was developing using V1.14.1 of STMCubeIDE. It was working fine, but overnight, the IDE was updated to V1.15.0. I am trying to build my project and running into this build message. arm-none-eabi-g++ -o "SmartGauge.elf" @"object...

MAlan.1 by Associate III
  • 1153 Views
  • 3 replies
  • 0 kudos

BMA456 STM32

Hi, I have a project to finish where I have to use a bma456, which is a step counter sensor, on stm32CubeIde. But I can't seem to be able to do it, by running my own code or by using the code given on the git, I always seem to be stuck on the burst a...

dawlon by Associate
  • 1746 Views
  • 5 replies
  • 1 kudos

ADC using DMA

Hello, @mƎALLEm  I would like to measure the voltage on analog pin A0 and A1 simultaneously, using ADC in DMA mode. I configured my ADC settings as SCAN, CONTINUOUS mode to measure continuously the whole group. The DMA is also configured and linked t...

Erwan03 by Associate III
  • 1168 Views
  • 2 replies
  • 1 kudos