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

We are pleased to announce that the release 1.19.0 of STM32CubeCLT is available. What is new in 1.19.0: Support for ST Arm Clang toolchainMaintenance of the previous versionUpdated in accordance with STM32CubeIDE v1.19.0 Main fixed issues in 1.19.0: ...

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

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
  • 5170 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
  • 234 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
  • 594 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

.launch file and Debug/Release configurations

 Hello,is there a way to configure the .launch file to download automatically the .elf file corresponding to the active build configuration (es. Debug or Release)?Or should I create two .launch files, one for Debug and on for Release?I tried to play ...

CTabo1_1-1694679847286.png
CTabo.1 by Senior
  • 1796 Views
  • 1 replies
  • 1 kudos

Resolved! Does SWV work on the STM32H573 DK board?

Beside enabled it in the Debugger tab:also called LL_DBGMCU_EnableTraceClock();but when calling ITM_SendChar(), the ITM->TCR is still 0.Do I miss anything else?  BTW, I am using the latest STM32CubeIDE 1.18. Thanks.

Thatseasy_0-1743125055947.png
Thatseasy by Associate III
  • 266 Views
  • 1 replies
  • 0 kudos

stlink_gdbserver gdb-multiarch

I'm trying to debug some embedded rust. I was using openocd (12) and gdb-multiarch. I currently using an stm32f3discovery. I've tried C with eclipse Embedded ARM and STM32CubeIDE and while STM32CubeIDE does work (validating my hardware) nothing else ...

beattie by Associate II
  • 754 Views
  • 5 replies
  • 0 kudos