2024-12-12 01:34 PM
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
2024-12-12 03:21 PM
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.
2024-12-16 02:14 PM
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.
2024-12-16 02:28 PM
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