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 STM32Cube project creation issue

Description In STM32CubeIDE version 1.18.1 and earlier, after selecting any STM32 target when creating a new project, the STM32Cube option becomes greyed out. This prevents creating STM32CubeMX-based projects, allowing only empty projects. How to Re...

GhofraneGSOURI_0-1753106154077.png

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

Generating code removes my added include paths

Hi, It's my first time using STM micros and the Cube IDE.Whenever I generate code from the device configuration tool, the include paths I have added in properties > C/C++ Build > Settings > MCU GCC Compiler > Include pathsdisappear. This only happens...

JKape by Associate
  • 449 Views
  • 0 replies
  • 1 kudos

STM32F030 Erase internal flash page

Dear,I made a project for STM32F030RC with STM32CubeIDE. when I use "HAL_FLASHEx_Erase" function to erase some flash pages (at end of flash that there is no code on it) , the CPU crash. I guessed it is depended on interrupts. so I disabled interrupts...

Load symbols from more than one elf file

I have a bootloader + main application that I would like to debug. Unfortunately it looks like I can only specify 1 file to load the symbols from? In TrueStudio it was easy with the debug script file to specify more than one, but the simplified UI ...

LKory by Associate
  • 1255 Views
  • 2 replies
  • 0 kudos

Getting started with STM32CubeIDE questions

Question 1: I just installed STM32CubeIDE on my home computer and my work computer. When I start a new project for the STM32L4R9I-Disco discover kit on my home computer the CubeMX tool opens fine with no initial errors or warnings on pins. When I s...

magene by Senior II
  • 661 Views
  • 2 replies
  • 0 kudos

Problem with adding a Library to the Projekt.

I can add the Library over the Properties of Project. Under the c/C++ General topic, Paths and Symbols. With the Tab Libraries.There i can Add it with the Button Files System. But if i Build it, i get following Error Message.How can i solve it? cann...

kcrh73 by Associate
  • 452 Views
  • 0 replies
  • 0 kudos

Resolved! printf() not working - _write() never gets called

Hello,as the title suggest, I can't get printf() to work.I implemented _write() in my main() but during debugging the program never get there.The project was created with CubeIDE.int _write(int file, char *data, int len) { if ((file != STDOUT_FILE...

CKauf by Associate III
  • 10653 Views
  • 9 replies
  • 3 kudos