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
  • 186 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
  • 3491 Views
  • 0 replies
  • 3 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...

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
  • 2690 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
  • 2743 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
  • 774 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
  • 3759 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
  • 1962 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
  • 3933 Views
  • 4 replies
  • 0 kudos

Ethernet with Nucleo-144 STM32F746GZ did not work with STM32CubeIDE 1.10.1 and STM32F7 library 1.70.1. The CubeMX is 6.6.1.2.

The Nucleo-144 F746GZ board worked fine with legacy Ethernet FW from System Workspace (as well as demo FW from System Workspace). I have added PG12 for Phy Reset however I am unable to get ethernet up via a twisted ethernet connection to the laptop. ...

Riscy by Senior
  • 3147 Views
  • 16 replies
  • 1 kudos