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

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
  • 2932 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
  • 1041 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
  • 676 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
  • 7518 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
  • 4453 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
  • 610 Views
  • 1 replies
  • 1 kudos

Resolved! Patching STM32 FW package before build

Hi!I use STM32CubeIde + FreeRTOS + LWIP and quite often, especially for debugging, I change features through CubeMX. It causes reloading of several files that I would like to patch before build.  Examples are LWIP->tcpip.c or LWIP->cc.h.I face an iss...

OskarMe by Associate II
  • 671 Views
  • 2 replies
  • 2 kudos