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

STM32CubeIDE 1.18.1 released

We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed i...

STM32CubeIDE 1.18.0 released

We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM...

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 II
  • 353 Views
  • 3 replies
  • 3 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
  • 346 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
  • 4755 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
  • 182 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
  • 456 Views
  • 9 replies
  • 5 kudos