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
  • 353 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
  • 5366 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...

STM32IDE Toolchain using 2 Compiler in one Project

I would like to use 2 Compiler in one project, the old compiler for the bootloader, where addresses should not change for application and the other for the application to use a newer version.First I tried to select either or from the C/C++ Build -> s...

koster by Associate III
  • 833 Views
  • 1 replies
  • 0 kudos

Hardfault Error While Debugging in Systemview

The SystemView is running properly when I don't integrate TouchGFX into STM32CubeIDE. However, when I integrate TouchGFX into my code, I'm able to debug with ST-Link. On the other hand, when I use J-Link, I'm getting a hardfault error while debugging...

Anil1472 by Associate II
  • 7082 Views
  • 9 replies
  • 1 kudos

Resolved! SPI Not communicating with aurdino

So , I wrote all driver my self so dont know how to ask this but i can provide you with few code.This is main.c file and other driver file is attached below........#include <string.h>#include "stm3f407xx.h"void delay(void){for(uint32_t i =0;i<500000/...

Resolved! Self initializing UART with Pin Stackign

Hello everyone,I have not conventional question. My purpose is to create code where 2 pins are used as two different interfaces (I2C1 and USART3). I know that pin Stacking option is just theoretical as no code is generated for this interface. I found...

MŻbik.1 by Associate II
  • 4068 Views
  • 5 replies
  • 3 kudos

Resolved! The end . bin file

Hi all,I plan to update my MCU. I would like to upload to MCU. bin file. If I understand correctly, this file can be uploaded entirely to the initial address of the MCU. It should not contain any extra data. I checked this file and just before the en...

Dabi by Associate
  • 1037 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CubeIDE debug FreeRTOS queues

I am trying to view and debug the queues in my FreeRTOS project. To do this, I have to add the queues to registry with vQueueAddToRegistry. However, vQueueAddToRegistry takes an argument to a QueueHandle_t and in the project generated with STM32CubeM...

sute by Associate III
  • 2319 Views
  • 1 replies
  • 0 kudos

Not able to debug using ST Link

What might cause the attached in ST error message in Cube IDE (V 1.13.1.It used to be able to Deug my program, until i updated the STLink firmware ( Pop up prompted me to update), i tried uninstalling the IDE, installng it again, same error message.....

AHamad by Associate
  • 2509 Views
  • 4 replies
  • 1 kudos

How can I exclude a file from the .extsettings?

Hello Team,I am trying to use the .extsettings to handle my project structure in the stm32cubeIDE. I want to exclude a particular file from the list of source files that I have in my directory. However, I did not find any solution for this in the use...

Jansunil_0-1698050247275.png
Jansunil by Associate II
  • 986 Views
  • 1 replies
  • 0 kudos

Project separation

I have a project for a STM32H7. The idea is to split the project into two separate projects. This is a functional separation. Can anyone help me what elementary steps are necessary to make these projects as follows:One project should land directly in...

DaBa by Associate
  • 719 Views
  • 1 replies
  • 0 kudos