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

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

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
  • 388 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
  • 4876 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
  • 203 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
  • 512 Views
  • 9 replies
  • 5 kudos

Resolved! STM32G070 wrong SPI SCK IDLE state after turn on

Hi folksI have a problem that seems to common in the SPI field, specifically the idle state of the SCK pin. My application needs a clock low idle state and after the turn on, it goes to high, corrupting the communication with an external SPI flash me...

spi_sck_state.png

Build Analyzer for MAP file

Build Analyzer output for MAP file includes .bss and other sections that should be in RAM only, in the flash as well. Is this the expected output?As you can see in the image, .bss and ._user_head_stack is included in the FLASH as well.  

roshangeoroy_0-1743576860756.png