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

We are pleased to announce that STM32CubeCLT 1.20.0 release is available. What is new in 1.20.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.0.0Update of Clang toolchain version 19.1.6Update of GCC 13.3.rel1Update ...

Aimen1 by ST Employee
  • 308 Views
  • 0 replies
  • 0 kudos

STM32CubeIDE 2.0.0 released

We are pleased to announce that STM32CubeIDE 2.0.0 release is available. STM32CubeIDE is now independent from STM32CubeMX. With this release, device configuration, previously handled within STM32CubeIDE via STM32CubeMX, is now exclusively available t...

Aimen1 by ST Employee
  • 4526 Views
  • 0 replies
  • 4 kudos

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

PWM Electronic speed control issue, B-G431B-ESC1

Hello everyone,I recently worked with a B-G431B-ESC1 discovery kit with STM32G431CB MCU, and I find a mistake in the code generated by Motor Control Workbench 6.1.2, that made the Electronic speed control feature (the one used in the example of the s...

Labrey by Associate II
  • 2730 Views
  • 2 replies
  • 1 kudos

FreeRTOS + SystemClock Behavior

Hello,I am using STM32L4A6VGTxP with CubeIDE and want to create a system with FreeRTOS.However, I am having the following problem when running the system under FreeRTOS while changing the SystemClock.Is there a solution?Configuration・Custom boards us...

ma-hara by Associate II
  • 2652 Views
  • 4 replies
  • 0 kudos

Resolved! Erase a group of sectors before programming

Hello,is it possible to add a command in the startup tab of the debug configuration, to erase a group of selected sectors, before programming?For example I want to erase sectors [16..63], but not sectors [0..15].I have only found the "monitor flash m...

CTabo.1 by Senior
  • 3356 Views
  • 8 replies
  • 2 kudos

Store variable in EEPROM STM32L011

I am experiencing an issue when I try to store arrays of data in EEPROM. My intention is to define these arrays in code and have the compiler store them in EEPROM memory space.I am using an STM32L011E4 device which has 512 bytes of EEPROM at memory l...

SHDK2000 by Associate II
  • 2131 Views
  • 4 replies
  • 0 kudos

STM32H7 DMA_MDATAALIGN_BYTE Error - CubeMX problem

Reference:STM32H7MCU package 1.11.1CubeIDE 1.13.1This is not a new problem but perhaps a new perspective.  I answered regarding this in a previous post but wanted to bring up anew because of the change in tack.The problem is this: After setting up an...

STM32CubeIDE hangs when printf to SWV ITM Data Console

Evaluation board: STM32L476G-EVALA simple program created using FreeRTOS and Configuration: SYS > Debug: Trace Async Sw.FreeRTOS running a single task. The task prints out a line every 1 ms.The single task has the following loop: for (int32_t i = 0;;...

Garland_0-1689861432320.png Garland_2-1689861548861.png Garland_3-1689861671103.png
Garland by Associate
  • 2563 Views
  • 4 replies
  • 0 kudos

Resolved! STM32f4291-DISC1 ADC

I'm using ADC1 in stm32f429-DISC1 board but the PA2 pin that I'm using for one of my channels is not giving the correct values compared with other pins of different channels.PA0 gives 900 as peak value whereas PA2 giving 150 for the same signal.

harry123 by Senior II
  • 924 Views
  • 1 replies
  • 1 kudos

Resolved! Help explain why this #include isn't working

Hi Folks,I'm trying to build a LVGL project and I'm running into a problem that I can't resolve. I get 25 errors all saying the same thing - "stm32f7xx.h" - no such file or directory.Here are my include settings::Here's the first of the 25 errors:C:/...

error_msg.JPG