cancel
Showing results for 
Search instead for 
Did you mean: 

STMCubeIDE generating errors in the driver files on creation of new project. How do I eliminate those errors and why are they occurring even on an empty project ? I've attached the screenshot. Please help. Thank you.

GSaw
Associate II

0693W00000JOloIQAT.png

1 ACCEPTED SOLUTION

Accepted Solutions

Whenever you get loads of errors like this, the secret is to start with the very first reported error - most likely many (even all) of the rest will be knock-ons from it.

 

To do that, use the 'Console' view - not the 'Problems' list:

 

0693W00000JOmJKQA1.png

(the 'Problems' list unhelpfully re-orders things - so you won't know which message was actually the first)

 

#UseConsoleView

 

View solution in original post

2 REPLIES 2

Whenever you get loads of errors like this, the secret is to start with the very first reported error - most likely many (even all) of the rest will be knock-ons from it.

 

To do that, use the 'Console' view - not the 'Problems' list:

 

0693W00000JOmJKQA1.png

(the 'Problems' list unhelpfully re-orders things - so you won't know which message was actually the first)

 

#UseConsoleView

 

The errors were in LL and HAL driver files therefore I couldn't understand what to change in it.

I uninstalled the ide and reinstalled the new version now the errors are gone.

But I couldn't understand what was the origin of those errors.

Thank you so much for the tip.