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

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
  • 523 Views
  • 0 replies
  • 3 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! How to configure external eclipse stm32 project so that it can be debugged as cube cortex application

Our project firmware is build using cmake. Cmake is used to create Eclipse project like thiscmake ..\Firmware -G"Eclipse CDT4 - Ninja" -DCMAKE_ECLIPSE_VERSION=4.16I can import project to CubeIde without proplems and buid it there. Proplem is that Cub...

0693W00000BaAcuQAF.jpg
CEkho.1 by Associate II
  • 4535 Views
  • 12 replies
  • 2 kudos

Resolved! How can i use Build variables? pre-build shell script

I want the IDE to save inside a buildinfo.h various const strings containing build timestamp names and other system variables.But im unable to use them inside my pre-build script:#!/bin/sh echo "this is the pre-build script!:D"   set _current_date=${...

0693W00000BaHb5QAF.png 0693W00000BaHcwQAF.png 0693W00000BaHccQAF.png
Javier1 by Principal
  • 1913 Views
  • 3 replies
  • 0 kudos

Resolved! printf and scanf functions is not working in stm cube IDE

Hai,I am using the printf and scan f functions in my code of stm cube IDE, when I want to print some messages on VIRTUAL COM port , but the messages are not showing in my serial monitor. I dont know why it is not working , is there we have to write a...

RKUMA.2 by Associate II
  • 1827 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CUBEIDE how to add a custom pre & post scripts

From an Idea discussion with @Pavel A.​ https://community.st.com/s/ideazone#0873W000000blKWQAYStCubeMX should enable your programm to know its own code version.via the autogenerated linker script or any way .Related with my old question https://commu...

0693W00000BZrZhQAL.png
Javier1 by Principal
  • 7148 Views
  • 5 replies
  • 2 kudos

How to create static library in the atollic true studio and how to add it to working project. I am using version 9.0.0.

I have seen one video on Youtube for the same but it was for latest version of atollic.[STM32CubeIDE] How to create and using static library ? - YouTubeWhen I am trying to replicate the action in the video I don't see HAL library header file automati...

ADain.2 by Associate II
  • 824 Views
  • 0 replies
  • 0 kudos

Using STM32CubeIDE when I configure the TIM pins in a certain way, activating TIM22_CH2 and TIM3_CH4 I can't compile the generated code. Is there something I have done wrong or is this a bug?

I have attached the .ioc file I use with my STM32L071RBTx chip if you try to compile the generated code from the .ioc file you should be able to reproduce the issue. This is the error message I'm getting:16:16:20 **** Clean-only build of configuratio...

HDuns by Associate
  • 1048 Views
  • 3 replies
  • 0 kudos