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

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
  • 2362 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
  • 2537 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
  • 700 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
  • 3282 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
  • 1735 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
  • 3460 Views
  • 4 replies
  • 0 kudos