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

Installer for CubeIDE broken for package L4 V1.17.1?

Do anyone experience the same problem?I tried to install the firmware package for STM32-L4 micros.I chose V.1.17.1. Installation started to download a file stm32cube_fw_V1170.zip despite the fact, that I chose V1.17.1Later it complained about a folde...

0693W00000JOReWQAX.png 0693W00000JORftQAH.png

Resolved! GDBServer not running under Debian

When I try to run the gdbserver included with cubeIDE the program reports it's missing "_Z19STLink_GetLibApiVerv", as in it cannot lookup the symbol within the binary.I encountered this error with both 1.7.0 and 1.8.0.I'm not sure if my LD_LIB_PATH i...

AHigg.2 by Associate
  • 1063 Views
  • 3 replies
  • 0 kudos

Resolved! How to add a third-party library to stm32cubeide permanently?

I have written multiple .c and .h files as libraries. Right now I have to add them to the core folder manually for each and every project I make. Is there any way that I can put these libraries in the main include folder of stm32cubeide, so I just ne...

AKari.3 by Associate
  • 1548 Views
  • 1 replies
  • 0 kudos

When building a C++ STM32 Project, how do I associate the .hpp file extension with combined header and source templates and Class files?

In my regular C++ work, I use the BOOST library, and I've taken to using their .hpp style that combines header declarations and source definitions in one file for most of my C++ work. I try to not use separate .h and .cpp files any more, whether it i...

DWild.1 by Associate II
  • 1290 Views
  • 2 replies
  • 0 kudos

Resolved! When copying a STM32 Project to a new C/C++ Managed Build Project, I am encountering header file location errors because I don't know how to duplicate the auto-generated project links under the master {project} Includes "directory."

It has the auto-generated plugin include "links", but I am missing the following.{project}/Core/Inc{project}/Drivers/CMSIS/Device/ST/STM32G4xx/Include{project}/Drivers/CMSIS/Include{project}/Drivers/STM32G4xx_HAL_Driver/Inc{project}/Drivers/STM32G4xx...

DWild.1 by Associate II
  • 2146 Views
  • 4 replies
  • 0 kudos

Resolved! Switching from Debug to Release mode - how do I push firmware to target (beginner question, am I doing something wrong?)

I am beginner with STM32CubeIDE 1.8.0 and am having trouble delivering release mode firmware to the attached target (STM32F0Discovery module, which is otherwise working well.)I am now experimenting with switching from Debug (the default configuration...

wb0gaz by Senior
  • 10399 Views
  • 8 replies
  • 0 kudos

Resolved! Dual bootloader - how to?

Hi everyone!I have to implement a dual bootloader system on different stm32 microcontrollers in STM32cube ide, and I have some questions…The idea is the following:There is a “pre-bootloader�? at the beginning of the flash. When it starts, it gets som...

Resolved! How to add preprocessor symbol in STM32Cube IDE

#error "Define according the used Cortex core ARM_MATH_CM7, ARM_MATH_CM4, ARM_MATH_CM3, ARM_MATH_CM0PLUS or ARM_MATH_CM0"Based from this Topic https://community.st.com/s/question/0D50X00009XkXPtSAN/need-help-in-dsp-library-for-keil- The problem is so...

How do I configure an Rx only UART interface in cubeide?...

I dont want to 'waste' the pins on the Tx line as this will not be used (the datastream is one way from an RC receiver into the STM32) - This isnt a case of it being a half-duplex etc.I can set the direction of data to be receive only in the advanced...

JHoun.1 by Associate III
  • 2023 Views
  • 5 replies
  • 0 kudos