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

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
  • 4216 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
  • 1720 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
  • 1709 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
  • 6445 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
  • 764 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
  • 937 Views
  • 3 replies
  • 0 kudos

Resolved! Best way to duplicate a workspace with projects

Hi,Let's say I have a workspace with multiple projects (e.g. application project, bootloader project, etc.) for a product. Let's say this workspace is located in C:\ProductA. Now I would like to duplicate this workspace to use it for another product ...

Anguel by Senior
  • 5019 Views
  • 9 replies
  • 3 kudos

Resolved! How to enable compiler/linker to manage external memory?

I've managed to get the SDRAM up and running on my STM32H745 Disco board. I've confirmed this by usinguint32_t* sdram = (uint32_t*) 0xD0000000; sdram[0] = 0xDEADBEEF;and checking the memory content. However, doing it this way, I have to control the a...

0693W00000BaAfeQAF.png
Hansel by Senior
  • 3056 Views
  • 4 replies
  • 3 kudos