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

Bad serial com on STM32H753IITx with later FW

Code which have worked well like a year ago with FW, MX and IDE versions that were current at that time does not work now.The problem comes after a call to HAL_UART_Transmit with one byte ("C") to transmit. After it is transmitted and while the count...

DGrön.1 by Associate II
  • 430 Views
  • 0 replies
  • 0 kudos

netXDuo TCP Server problem

Hello all.I'm writing an application with the NUCLEO-H563ZI board (with the intention to use later the STM32H563 into a custom board).My application will communicate with a master PC via the embedded Ethernet, exchanging process data and commands.The...

Release build configuration in STM32CubeIDE

Hi Team,We are using STM32CubeIDE version 1.15.1 for MCU development in the project. We are trying to add Release build configuration in the project.I have created a .elf file for the release build configuration and want to append 4 bytes of CRC to t...

STM32CubeIDE 1.5.1: Memory viewer broken ?

I recently upgraded to 1.5.1 and it seems I am now unable to look at the ram memory anymore for some mysterious reason . Eg I wanted to check the stacks of my freertos tasks but the memory shows up as all ???????? from 0x200003F0 onwards (between 0x2...

0693W000006H5FEQA0.jpg

How to include FatFS properly?

Hello, I want to write data to a SD card. When I want to include fatfs, in header files i get errors. ff_gen_drv.h line 57 (typedef struct { uint8_t is_initialized[_VOLUMES];:( '_VOLUMES' undeclared here (not in a function)sd_diskio.h line 35 (extern...

ÇSerp.1 by Associate II
  • 2934 Views
  • 5 replies
  • 0 kudos

HAL_SYSTICK_Config() hangs on HAL_Init()

I had a working project in STM32CubeIDE when "suddenly" HAL_Delay() did no longer properly work (with the stepper motor shield). During investigation I found that HAL_Delay was basically hanging forever. No, without knowingly changing something, my c...

0693W00000AP5kEQAT.png
MDaub.1 by Associate III
  • 1043 Views
  • 1 replies
  • 1 kudos

Resolved! Postcompilescript: Emty command

Hello, I'm using STM32CubeIDE Version 1.17.0. A project import from an older Verionen causes an Error message while compiling: Errors occurred during the build.Errors running builder 'CDT Builder' on project '<Projectname>'.Internal error building pr...

hja by Associate
  • 683 Views
  • 4 replies
  • 1 kudos

Unable To Create/Open STM32 Projects

I closed out of my project last night, and tried opening it today and kept having it just freeze on the homepage of the STM32cubeide. I even tried creating a new project and nothing. I even tried reinstalling but still same error. When I try to close...

CFran.1 by Associate II
  • 7537 Views
  • 12 replies
  • 0 kudos

Using -include file GCC option causes errors.

I have an STM32H743 project generated and i'd like to include an external file using the GCC "-include file" command option. I've added it as shown in this screenshot under C/C++ Build > settings > MCU/MPU GCC Compiler > MiscellaneousThe problem is t...

BobaJFET_0-1738262058529.png
BobaJFET by Associate III
  • 4454 Views
  • 10 replies
  • 3 kudos

Resolved! How do I stop sys_app.c from generating in Core?

I'm working on a stm32wle5c8 Lora project.  I have my own overrides of HAL_InitTick, HAL_GetTick, HAL_Delay and HAL_IncTick because I want to use SysTick as a high-resolution timer.  With this new project, a file Core/Src/sys_app.c is being generated...

jkercher by Associate II
  • 612 Views
  • 1 replies
  • 1 kudos