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

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

STM32CubeIDE 1.18.1 released

We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed i...

STM32CubeIDE 1.18.0 released

We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM...

Resolved! Debuging fails after HAL_Init()

I am debugging an application for an STMF103RCTX Using STM32CubeIDE and an STLINK v2 debugger.This is my usual combination of tools and my usual hookup.I find that I can start a debug session and step into main() and even step over anything befoer HA...

KMill by Senior
  • 2438 Views
  • 12 replies
  • 4 kudos

Resolved! Change target microcontroller

This is a question about STM32CubeIDE.When creating a new STM32 project, you select the board, but if I select STM32F412 and edit the program, can I operate the STM32H743 microcontroller?(We will adjust the pin configuration accordingly)

Resolved! USB_OTG_HS fails on STM32H723VGT

           Hallo everyone,I tried to export the measured data of my project on a WeAct-3.0 STM32H723 board as an USB_OTG_HS stream to a Virtual COM Port on my Windows desktop. Unfortunately, I fail to get this operational, despite many trial and erro...

STM32H7xx_Compiler_Warning_Config.png
FredS by Senior
  • 2404 Views
  • 9 replies
  • 3 kudos

Resolved! CubeIDE CPP project and Assembly Include

Hello,I have problem with including assembly code into my C++ project.Include section of main.cpp:#include "asm_math_wk.h"asm_math_wk.h file:#ifndef INC_ASM_MATH_WK_H_ #define INC_ASM_MATH_WK_H_ extern void megawkurw(uint32_t test); #endif /* INC_A...

Wikte by Associate
  • 737 Views
  • 2 replies
  • 2 kudos

Resolved! undefined reference to HAL_TIM* functions

I'm having a problem where the linked complains to me with undefined reference to `HAL_TIM_PWM_Init' erros. The objects that it complains are not defined are HAL TIM based ones such as HAL_TIM_PWM_Init or HAL_TIM_IRQHandler. There is a source file w...

F4 Series SPI HAL Data Size Bug

I am getting a warning during compile of an incompatible pointer type when I call the SPI TransmitReceive function as shown below.Compiler warningI am passing the function an unsigned 16 bit integer array.  I have configured the SPI to use 16 data bi...

STM32CubeIDE F4 SPI_HAL compile warning.png STM32CubeMX_SPI.png STM32CubeIDE F4 SPI_HAL.png

Resolved! VERY weird 'Failed to execute MI command' problem

Hi everyone,   I start to question myself and this whole programming thing....   I'm using a STM32F3-Discovery Board and generated a code with STM32CubeMX in default mode. I changed absolutely nothing before code generation.   In main.c I added the f...