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 older, after selecting any MCU or MPU when creating a new project, the STM32Cube option becomes greyed out. This means only empty projects can be created, and STM32CubeMX initialization is not available ...

SemerCHERNI_0-1752684873535.jpeg

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 reduce the size of build file.

Hi,I was trying to convert a code written in HAL to baremetal for reducing the size. The code in HAL has 90KB file size when build in Debug mode and has 50KB file size in Release mode. In case of baremetal 73KB and 63KB respectively for Debug and Rel...

SSaiy.1 by Associate III
  • 6802 Views
  • 10 replies
  • 0 kudos

No rule to make target

Hi, All I am new to use STM IC. have the following question. please help.1) Nucleo-c0316C, cubeIde Version: 1.12.12) import CubeIDE example I2C_TwoBoards_AdvComIT. that worked fine3) changed the I2C address from 0x3E to 0x78 build all. then 13:20:5...

_legacyfs_online_stmicro_images_0693W00000blAGLQA2.png

Why does my build include so many 'unused' functions ?

I use STM32CubeIde in a fairly standard way, only that I use C++ source on top of the C HAL code. When inspecting the build with Build Analyzer, I noticed A LOT of code which I think I never included.. (never sure what all the HAL files do..) for exa...

Strooom by Senior
  • 2506 Views
  • 3 replies
  • 0 kudos

Cannot revert from semihosting

Hello everyone,I am building an application on a STM32H742 chip.I can correctly enable the semihosting following this guide (How to use semihosting with STM32CubeIDE and STM32).However, I want to be able to disable it because otherwise the code stops...

GCurz.1 by Associate II
  • 1063 Views
  • 2 replies
  • 0 kudos

Resolved! Dear friend: I've been working with the STM32CubeIDE V1.8.0 ( I've continued working with this version because I found some problems and, with your help it worked well) . I downloaded this week the v. 1.12.1 and I had a problem: In the older version, I

define the global variables inside a variables.h file, and was possible to use within several procedures (*.c) only informing with #define "variables.h". In this version it isn't possible. How can I declare the global variables ?Thank you for your at...

INaka.1 by Associate III
  • 1343 Views
  • 4 replies
  • 1 kudos

Resolved! How to support multiple controllers in one project?

Hi all. I have a project in Cubeide for an STM32F429 controller. And at the moment I need to add the existing code for STM32F407. I don't want to create a separate project, but I need to add another controller to the current project and just select t...

Resolved! How to automatically open reference to @defgroup for @ref in HAL Doxygen comments in STM32CubeIDE? (To decipher "This parameter can be a value of @ref ...")

In HAL and LL drivers, lot of functions take parameters of type int, where only a Doxygen comment informs you what the possible values of the parameter are (e.g. "This parameter can be a value of @ref RCC_CSI_Config") and you have to manually search ...