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

Gcc optimization problem

I have a problem in STM32CubeIDE.​unsigned char readKey (void) { volatile unsigned char keyValue=HAL_GPIO_ReadPin (KEY_GPIO_Port, KEY_Pin); if (0 == keyValue) { printf ("before delay\r\n"); HAL_Delay (10); keyValue=HAL_GPIO_ReadPin (KEY_GPIO...

User.151 by Associate
  • 766 Views
  • 2 replies
  • 0 kudos

How to Set Code Auto-Completion?

:sad_but_relieved_face: It`s my first time to use tools like STM32CubeIDE ( keil v5 before :) ). I want to know where can i set Code Auto-Completion or CODE-TIPS ?Thanks!

hbowe by Associate II
  • 4452 Views
  • 3 replies
  • 4 kudos

Debug error

SEGGER J-Link GDB Server V6.44c Command Line Version​JLinkARM.dll V6.44c (DLL compiled Mar 22 2019 17:26:40)​Command line: -port 2331 -s -device STM32F042F4 -endian little -speed 1000 -vd-----GDB Server start settings-----GDBInit file:         noneGD...

0690X000009YxB7QAK.jpg
hbowe by Associate II
  • 757 Views
  • 1 replies
  • 1 kudos

stm32cubeide.exe gets deleted upon running

I've tried installing STM32CubeIDE for the first time on Windows 10. Every time I run it, it automatically closes, and the stm32cubeide.exe file gets deleted. I've reinstalled 1.0.0, 1.0.1 and 1.0.2 several times but this happens every time.Anyone fa...

KLe by Associate
  • 716 Views
  • 2 replies
  • 1 kudos

Fatal error with bsp_driver_sd.h

Hi ST Community,as you see in the pic below I have a problem with bsp_driver_sd.hI created a new folder called Fatfs and in this folder a new one its name Core , I put the source file as shown, I ceated the header file (bsp_driver_sd.h) but i still d...

0690X000009Yx1HQAS.png
idrissmc by Associate III
  • 829 Views
  • 4 replies
  • 0 kudos

How to enable semi hosting with STMcubeIDE

Hi, I wan to use semihosting on stm32cubeide using STLINK SWD debug probe . searched whole documentation of cubeide no where it is mentioned . Can anybody pls guide me on this ?there is one guide available https://community.st.com/s/question/0D50X000...

n.serina by Associate III
  • 634 Views
  • 0 replies
  • 0 kudos

OLE Exception during opening IOC file

Hello everybody! Is anybody can help me? Recently I've install STMCubeIDE v1.0.1Something went wrong and i had to reinstall STM32CubeIDE.After installation, I cannot create a new project and cannot open the * .ioc file in the created project. I've go...

SMill.9 by Associate
  • 530 Views
  • 0 replies
  • 0 kudos