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
  • 94 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
  • 605 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...

Resolved! TrustZone Blink_My_LED example HAL_SD_Init error

Just starting with STM32 on STM32L562 DK using CubeIDE and trying example in video. Debugger halts on error trying to initialize SD card, which is not used in this project. From the video it looks like MX_SDMMC1_SD_Init() is called there too.if (HAL_...

MSher.1 by Associate III
  • 789 Views
  • 1 replies
  • 0 kudos

Problem with edition of function auto comment (documentation)

Hi everybody ! I want edit the code template for function but in Window -> Prefereces -> C/C++ -> Code style -> Code template isn't "function". But when i declared a new function and before typing /** + enter, generated this auto comment:/** * @fn vo...

BarcaM by Associate II
  • 924 Views
  • 0 replies
  • 0 kudos

Resolved! Problem adding source file to STM32CubeIDE project I can add a .cpp file containing a trivial test function to the Core/Src folder, 'build' seems to process it ok but can not acces this from another source file.

Declaring external function in main.c causes no errorextern plus_one (int) ; // Causes no problembut from within main () int x = plus_one (2); // causes build to fail11:20:23 **** Incremental Build of configuration Debug for project TemplateL432KC_DM...

JFree.1 by Associate II
  • 1325 Views
  • 3 replies
  • 0 kudos

STM32 Nucleo L476RG: Debugger Connection Lost I try uploading a blank project and receive a message saying the debugger connection is lost. I tried 5 different USB Mini Cables and uploaded successfully to a completely different Nucleo Board (H745ZI-Q).

This is the message I receive when debugging for the STM32 Nucleo L476RG Board:STMicroelectronics ST-LINK GDB server. Version 5.8.0Copyright (c) 2020, STMicroelectronics. All rights reserved.Starting server with the following options:    Persistent M...

SMaci.1 by Associate II
  • 1197 Views
  • 2 replies
  • 0 kudos

CubeIDE hangs when starting configurator

Shortly after starting CubeIDE, if I open a .ioc file, the IDE starts the configurator, but then hangs with the pinout window incomplete and one processor core running 100% indefinitely. I am running CubeIDE 1.6.1 under Ubuntu Linux 18.04.5 on a 2-c...

TJack.2 by Associate III
  • 3547 Views
  • 8 replies
  • 1 kudos

Two STM32F407 Discovery Boards SPI Polling Example From ST

I used STM32Cube IDE ST Examples to try SPI Polling communication. I followed SPI_FullDuplex_ComPolling reading file instructions. After I pressed reset buttons of 2 boards, I pressed master board user button. The result is according to readme file i...

Moses by Associate II
  • 1555 Views
  • 7 replies
  • 0 kudos

Resolved! (Solved) STM32Cube IDE FreeRTOS Task Aware Debugging

Hi,I'm currently trying to configure FreeRTOS task aware debugging. It mostly seems to be working, however, I cannot get the Min Free Stack, Event Objects or State columns fully working on the Task List Tab. The image below displays the current state...

0693W00000D1EINQA3.png 0693W00000D1EJaQAN.png
BEvan.2 by Associate II
  • 6214 Views
  • 2 replies
  • 0 kudos

STM32IDE can't connect to Internet.

Hello everyone,I have had a problem with the STM32IDE software for over a week. When I want to create a new project, I am asked to download some files from the internet but the software can't connect to the internet to download them. I am using a Des...

0693W00000ANqX8QAL.png 0693W00000ANqWyQAL.png 0693W00000ANqXDQA1.png
DVouf.1 by Associate II
  • 3210 Views
  • 9 replies
  • 0 kudos

Resolved! including stm32f1xx_hal.h to static c++ library doesn't work

Hi, I'm trying to import stm32f1xx_hal.h to my static c++ library to have access to the standard types and functions.It used to work when the project was still c, but after migration it doesn't recognize the types any more, even though it doesn't fai...

Ubus99 by Associate III
  • 3732 Views
  • 3 replies
  • 0 kudos