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
  • 580 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
  • 8064 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! STM32Cube post code generation script

Hey all.As per tradition, my first post in this community will be a question.In the same way that I can run pre- and post-build commands that is run when I build a project in STM32cube, is it possible to run a post code generation command when I gene...

Moose by Associate II
  • 332 Views
  • 2 replies
  • 1 kudos

LibUSB Error suddenly appearing

I am using a MacBook M1 Max (Sonoma 14.6.1) and STM32CubeIDE(1.16.0) with a STM32g0316-disco board.   Everything was working fine until, out of the blue, I started getting LibUSB errors when I tried to flash/debug my code.I tried a second identical d...

USBX improper code generation

After editing the .IOC file, the code generator will mess up the app_usbx_device.c\MX_USBX_Device_Init() function by placing the codeif (ux_device_stack_initialize(...)right after the variable declarations at the top of the function.Typically, that f...

WDobb.1 by Associate II
  • 1310 Views
  • 5 replies
  • 4 kudos

Resolved! STM32U5 UCPD PDO Num BUGs

Board:STM32U5A9xxI set the Number of PDO to define = 5 in the cubeide.But after generate code, the code in usbpd_pdo_defs.h, macro:PORT0_NB_SINKPDO is still 1U.I also checked the file usbpd_pdo_defs_u5.ftl in cubeide's location, the macro PORT0_NB_SI...

Jason927_0-1756195540325.png
Jason927 by Associate III
  • 563 Views
  • 5 replies
  • 1 kudos

SYS_DBG_ENABLE_TA4 BUG IN v 1.19.0

Working with getting TraceRecorder to work with an L562 project.  When the tracerecorder software is added (using the package), SYS_DBG_ENABLE_TA4 is set to 0, which inactivates the feature.  SYS_DBG_ENABLE_TA4 has to be manually set to 1 to enable t...

Resolved! STM32 NUCLEO H755ZIQ USART bug

  I have been trying to deploy a simple ML model on my STM32 NUCLEO H755ZIQ, i've been following a tutorial as am learning right now, but no matter how many times i try i cant seem to shake of these three errors:1. when i try to open the XcubeAI  int...

Screenshot 2025-08-21 at 3.18.22 PM.png Screenshot 2025-08-21 at 3.46.29 PM.png vigneshn10_0-1755773483160.png

Resolved! STM32U5 Code Generation Bug?

Hi,i just generated a project using the Device Configuration Tool (1.19.0). All works. But as soon as I enable "Generate peripheral initialisation as a pair of '.c/.h' files per peripheral" the hardware stands at:static HAL_StatusTypeDef USB_CoreRese...

JE by Associate III
  • 922 Views
  • 6 replies
  • 4 kudos