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
  • 293 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
  • 4286 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...

Resolved! Shaded codes in editor

Hi All, 1 - HAL_QSPI_MODULE_ENABLED is defined and the shaded code areas are combiled. But I could not find why these codes seems shaded, do you ?2, 3 - I can see file icon on the top left corner of the stm32h7xx_hal_conf.h file name and context menu...

Shaded.png

Is it possible for the IDE to highlight user code

Hello,Is it possible to highlight USER CODE from CubeMX code generation?  For example, highlight everything between these types of comments:/* USER CODE BEGIN PM *//* USER CODE END PM */In a similar way that #ifdef / #endif blocks are highlighted?If ...

matt-crc by Senior III
  • 607 Views
  • 3 replies
  • 5 kudos

STM32F103T8 UART ReceiveToIdle trigger issue? & DMA issue

Im not sure what is going on...The goal is to receive an unknown transmission length from the UART. Issues:HAL_UARTEx_ReceiveToIdle_IT(): Event callback is called "incorrectly".I am unable to get any DMA to function, neither the UART DMA or I2C. Simp...

XD_0-1742376240166.png
XD by Associate III
  • 646 Views
  • 5 replies
  • 0 kudos

Cannot debug with CMSIS-DAP + OpenOCD + CubeIDE in WIN10

I have got a new CMSIS-DAP debugger, and I tested it with Keil 5 where everything works fine. Now I want to use it in STM32CubeIDE.My configure file for OpenOCD my_cmsis.cfg issource [find interface/cmsis-dap.cfg] transport select swd source [find ta...

Lsy.1 by Associate II
  • 5737 Views
  • 4 replies
  • 1 kudos

How to add X-CUBE library to project?

Hi,I am trying to add the X-CUBE-NFC7 library to my project. I am getting the following error: ../Middlewares/ST/lib_nfc7/lib_NDEF/Core/inc/lib_wrapper.h:26:10: fatal error: common.h: No such file or directory 26 | #include "common.h"  The steps t...

icecats_0-1743511715982.png icecats_1-1743511775664.png
icecats by Associate II
  • 323 Views
  • 1 replies
  • 0 kudos

Resolved! CubeMX/CubeIDE hanging while configuring peripherals

I am trying to configure a STM32H7B0 within STM32CubeIDE to use the SAI peripheral.  When I select any SAI, my cursor turns into the spinning blue circle indicating it is busy/working while not showing the configuration screen.  I select any other pe...