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

We are pleased to announce that STM32CubeCLT 1.21.0 release is available. What is new in 1.21.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.1.0Update of Clang/LLVM toolchainUpdate of GCC to GCC 14Update of STM32Cu...

Aimen1 by ST Employee
  • 93 Views
  • 0 replies
  • 0 kudos

STM32CubeIDE 2.1.0 released

We are pleased to announce that STM32CubeIDE 2.1.0 release is available. What is new in 2.1.0: Added support of STM32C5 seriesAdded support of new microcontrollers across the STM32WBA, STM32WL, STM32H5, STM32U3 and STM32F7 seriesAdded support of new ...

Aimen1 by ST Employee
  • 591 Views
  • 0 replies
  • 1 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...

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
  • 3175 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
  • 1417 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
  • 1802 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 ...

Compiler not generate external flash code

HiI have a problem with stm32cube ide non use externale flash when compile.I have similar design with the same configuration ad work fine.Where can be the problem?ENTRY(Reset_Handler)/* Highest address of the user mode stack */_estack = ORIGIN(RAM) +...

PZamb.2 by Associate III
  • 914 Views
  • 0 replies
  • 0 kudos

expected ';' before '{' token error

I'm using the book Nucleo Boards programming with the STM32Cube IDE and none of the code in the book seems to ever work. I've attached a text file of the code I created straight from the book but it won't compile because of the error "expected ';' be...

DRicc.2 by Senior
  • 3569 Views
  • 3 replies
  • 0 kudos