Skip to main content
Associate III
December 12, 2024
Question

STM32CubeIDE showing errors on the GUI

  • December 12, 2024
  • 1 reply
  • 814 views

Hi,

 

I am using STM32CubeIDE version 1.17.0. I have compiled a project fine with no errors showing on the build console and the elf file is generated successfully.

 

However, STM32CubeIDE is still showing errors on my project which, of course, are false positive. These errors on the GUI were not even reset when I clean the project.

 

I tried restarting the IDE but with no luck.

 

Rergards,

Hani

1 reply

TDK
Super User
December 12, 2024

 

Show the errors. Rebuilding the index can sometimes help. The code that scans for and generates "problems" is not trustworthy in general. I'd recommend ignoring that tab and only using the console output during compiling.

"If you feel a post has answered your question, please click ""Accept as Solution""."
hakeilaAuthor
Associate III
December 16, 2024

Hi @TDK ,

 

Thanks for the reply. I understand, but it is so distracting IDE bug. I would expect that using STM32CubeIDE is flawless especially in that regards. 

 

I don't know if it is caused by the cppcheck static code analyzer or it is a built-in issue in the IDE. Especially, I remember that version 1.16.0 didn't have that issue. Now, even when you clean the project, the "Problems" tab still shows that error. This was not the case in 1.16.0.

 

I tried rebuilding/refreshing the index, but with no luck.