Skip to main content
Konami
Senior
December 10, 2022
Question

STM32CubeIDE hangs during build

  • December 10, 2022
  • 4 replies
  • 2351 views

Lately, at an increasing rate, CubeIDE hangs with the project at 25~27% and will not proceed. As best I can tell, this is always on the last file it's compiling. That is to say, it's hanging on the last arm-none-eabi-gcc "source_code.c" output and when the build doesn't fail, the next line is arm-none-eabi-gcc -o "Project.elf".

There's no error, or warning just sits there. If I retry, sometimes it passes, sometimes it takes 2-3 retries and sometimes it takes a dozen.

I had this problem about a year ago but it was much less severe (happened 1/15 build attempts). My teammates have this problem too and for them it has remained less severe. What can I do to debug this, or any ideas what's going on?

OS: Windows

CubeIDE Version: 1.9.0 and 1.10.1

This topic has been closed for replies.

4 replies

ST Technical Moderator
December 26, 2022

Hello @DB.7ujak​ and welcome to the Community :)

Did you try to restart STM32CubeIDE or rebooting the computer? Maybe this solves the problem!

Did you try with the latest release of STM32CubeIDE v1.11.0?

Maybe it' related to a memory issue!

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Konami
KonamiAuthor
Senior
January 3, 2023

I've definitely tried rebooting things several times. This issue has been going on for months. I just tried v1.11.0 as well and it too suffers from the same issue.

Pavel A.
January 3, 2023

Do you use internal or external builder (Properties->C/C++ build)?

Konami
KonamiAuthor
Senior
January 4, 2023

External:

0693W00000Y7L0HQAV.png