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

STM32CubeIDE 2.1.1 released

We are pleased to announce that the minor version 2.1.1 of STM32CubeIDE is available. What is new in 2.1.1: This release covers the topics listed below: SEGGER J-Link GDB server updated to 9.24 to fix an issue with the Live Expression view during the...

Aimen1 by ST Employee
  • 1509 Views
  • 0 replies
  • 1 kudos

STM32CubeCLT 1.21.0 released

We are pleased to announce that STM32CubeCLT 1.21.0 release is available. What is new in 1.21.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.1.0Update of Clang/LLVM toolchainUpdate of GCC to GCC 14Update of STM32Cu...

Aimen1 by ST Employee
  • 575 Views
  • 0 replies
  • 0 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...

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
  • 1662 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
  • 2038 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
  • 7506 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
  • 856 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...

Resolved! Compiler error - Syntax

When I try to compile a inherit project I get this error:c:/st/stm32cubeide_1.17.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_2.2.0.202409170845/tools/bin/sh: syntax error: unexpected "("make[1]: *** [makefile:92: post-bui...

Hachim by Associate II
  • 2839 Views
  • 9 replies
  • 5 kudos