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

We are pleased to announce that STM32CubeCLT 1.20.0 release is available. What is new in 1.20.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.0.0Update of Clang toolchain version 19.1.6Update of GCC 13.3.rel1Update ...

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

STM32CubeIDE 2.0.0 released

We are pleased to announce that STM32CubeIDE 2.0.0 release is available. STM32CubeIDE is now independent from STM32CubeMX. With this release, device configuration, previously handled within STM32CubeIDE via STM32CubeMX, is now exclusively available t...

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

STM32 debug problem (There is no .elf file) - CubeIDE

Hi. Im using STM32F103C8T6 to interface BMP388 pressure sensor. I downloaded a example project file. When i trying to debug it using ST-LINK I'm getting unable to launch error.In debug configuration window im getting 'Project file does not exist' err...

0693W00000YABVLQA5.png

Error from debugger back end

While programming an stm32f446re in stm32cubeide 1.10, UART protocol caused me trouble as this errors appeared:1) Failed to execute MI command:-var-create - * UARTError message from debugger back end:-var-create: unable to create variable object2) Un...

jreis.1 by Associate II
  • 2791 Views
  • 5 replies
  • 0 kudos

Resolved! How to add new folders and get them compiled in CubeIDE?

Hi,I am trying to add new folders in CubeIDE and get them compiled.Taking STM32CubeU5 as an example.I imported a GPIO example, under the file tree, it will show:--include--Application --Startup --User--Drivers --BSP --CMSIS --STM32U...

dchen by Associate II
  • 2864 Views
  • 4 replies
  • 0 kudos

Naming Standar STMCubeIDE,

I am trying to understand the standard followed by libraries and automatic code generated for this IDE but I am very confused, some examples :Looks this oneRCC_PeriphCLKInitTypeDef PeriphClkInit = {0};compare with this one:GPIO_InitTypeDef GPIO_InitS...

dhs by Senior
  • 808 Views
  • 1 replies
  • 0 kudos

Resolved! How do we run inbuilt DAC of STM32 using MATLAB Simulink?

DAC block is not directly available on MATLAB Simulink. We tried interfacing CubeIDE with Simulink using S-Function builder but were not able to run. We are facing problem in creating S-function. Any idea on how to do so directly or indirectly would ...

AAgra.5 by Associate
  • 3965 Views
  • 4 replies
  • 1 kudos

Resolved! nucleo-L476 / RealTerm / printf not working??

Hello All...I am trying to send data to realterm using printf....I used cubemx to set up baud rate, etc. and have called MX_USART2_UART_Init. RealTerm is pointing to the correct serial port with the correct baud rate....A breakpoint validates the da...

SWenn.1 by Senior III
  • 2073 Views
  • 3 replies
  • 0 kudos

Resolved! strncpy_s in STM32: undefined reference to `strncpy_s'

Hi. I have the following code:messageprocesser.h#ifndef INC_MESSAGEPROCESSER_H_ #define INC_MESSAGEPROCESSER_H_   #ifdef __cplusplus extern "C" { #endif   #include "main.h" #include "usbd_cdc.h" #include <stdint.h> #include <string.h> #include <stdio...

0693W00000YA3UPQA1.png
OIp.1 by Associate III
  • 4100 Views
  • 4 replies
  • 0 kudos