Skip to main content
GSaw
Associate III
February 7, 2022
Solved

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.

  • February 7, 2022
  • 2 replies
  • 3922 views

0693W00000JOloIQAT.png

This topic has been closed for replies.
Best answer by Andrew Neil

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

 

2 replies

Andrew Neil
Andrew NeilBest answer
Super User
February 7, 2022

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

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
GSaw
GSawAuthor
Associate III
February 8, 2022

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.