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
  • 689 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
  • 9515 Views
  • 0 replies
  • 5 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...

Debugging hardfault

Hello, I need suggestion in debugging hardfault. I got stack as below, I am kind of unsure how to debug it. CFSR value is 0x00020000 means its INVSTATE.

0693W000007AuZ0QAK.png

avoid flash erasing when debugging

Hello,My simple application should read some configuration which I put by CubeProgrammer from 0x0800C800, I want to debug the application but seems the debugger erases the flash at all. Could you tell me please how to prevent full internal flash eras...

YGU.1 by Associate II
  • 950 Views
  • 2 replies
  • 0 kudos

Resolved! STM32CubeIDE: Icon Decorators: exclude resource from build

Hi,I'm seeing some odd behavior with the icon decorators on excluded source files:Create a new STM32 project with everything as defaultBuild the project ... all goodAdd a source file, say demo1.c that contains a single functionAdd another source file...

KayJay by Associate II
  • 3492 Views
  • 6 replies
  • 0 kudos

STM32CubeIDE v1.5.1 upgrade issues?

Just upgraded my STM32CubeIde v1.3.1 (IIRC) to v1.5.1 from within the IDE using the "Help", "check for updates" option. Updated without issue, I can load and compile my projects but the debugger won't run with a 'null pointer exception' error. If I b...

TJM by Senior
  • 938 Views
  • 4 replies
  • 0 kudos

Resolved! HAL_UART_Transmit_IT blocks until end of transmission

I am using STM32CubeIDE + STM32F103C8T6 MCU with USART1. I am transmitting data by calling this function:HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef * huart, uint8_t * pData, uint16_t Size)The function is generated by CubeIDE. It turns ...

BBB.1 by Associate II
  • 6002 Views
  • 6 replies
  • 0 kudos

STM32CubeIDE Updating Error to 1.5.1 Version

Hello Everyone,I have tried to update my cubeIDE from 1.5.0 to 1.5.1 on update tool but every time when try I get error. Details of error is in the picture. Any idea what's going on? How can I fix that?Have a nice day. 

0693W000006I7k1QAC.png

Resolved! Error including the CMSIS include files in the STM32CubeIDE

Hi allI am having difficulties adding the CMSIS include libraries in the cube IDE, when I attempt to build the project I am getting error messages about files that are already included in the "path and symbols" -> "includes directory". For example th...

0693W000006I5HMQA0.jpg 0693W000006I5HqQAK.jpg
PPoob.1 by Associate III
  • 4109 Views
  • 5 replies
  • 3 kudos