cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE showing errors on the GUI

hakeila
Associate III

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

3 REPLIES 3
TDK
Guru

 

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".
hakeila
Associate III

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.

 

hakeila
Associate III

Here is a snapshot of my errors.

As you can see, most of the errors shown in the standard libraries of the MCU like the data types; example uint16_t. Others with symbols not declared and cannot be found

 

hakeila_0-1734388034018.png