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! 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
  • 707 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
  • 842 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
  • 1132 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
  • 1035 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
  • 2960 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
  • 1277 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
  • 5726 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
  • 2721 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
  • 3336 Views
  • 3 replies
  • 0 kudos