Skip to main content
Visitor II
June 3, 2024
Question

discrepancy between the code in editor and the build process

  • June 3, 2024
  • 1 reply
  • 798 views

thv_0-1717421063873.png

Here I am developing basic GPIO driver, As shown in the above image i am encountering error while in editor window but in console while it showing like 0 error(for this image shown below)

thv_1-1717421215860.png

please, can any one help me out to resolve this issue?

1 reply

Andrew Neil
Super User
June 3, 2024

Looks like the editor's index is out-of-step - so it's not seeing the GPIOx definitions.

Try rebuilding the index:

AndrewNeil_0-1717421853438.png

 

EDIT:

Note that it's not a discrepancy between the code in the editor, and the code that the compiler seems - they are identical.

 

#RebuildIndex

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.