Skip to content

Spurious Language Server result for SparkFun:apollo3 platform #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jerabaul29 opened this issue Apr 9, 2021 · 3 comments
Closed

Spurious Language Server result for SparkFun:apollo3 platform #307

jerabaul29 opened this issue Apr 9, 2021 · 3 comments
Assignees
Labels
conclusion: resolved Issue was resolved topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project

Comments

@jerabaul29
Copy link

I am using the latest IDE2.0 on Ubuntu 20.04.

I am compiling a sketch for the Sparkfun Artemis board (third party boards). I installed the Sparkfun Artemis core v1.2.1 (installed by hand). The sketch compiles fine (see message in the command line interface pane).

However, I get some faulty error messages, in particular, see the one here:

Screenshot from 2021-04-09 19-28-28

Any idea:

  • what is causing it?
  • how to fix it?
@mrbbp
Copy link

mrbbp commented Apr 12, 2021

hello, i've got the same pb with added libraries

i use SD_FAT lib and have unknown_type, as it doesn't read the lib for var, knowned functions and authorized name

Capture d’écran 2021-04-12 à 11 26 08

Capture d’écran 2021-04-12 à 11 26 19

Capture d’écran 2021-04-12 à 11 26 34

@kgrabe
Copy link

kgrabe commented May 23, 2021

to recreate on win 10, ide beta 7, include an non-ezistent library to comment out later, compiles ok:
image

now comment out not-existent library, compile to get error:
image

now uncomment the libary..
image

and previousely ok code shows errors even though the code compiles ok:
image

to clear the error just make any change to the code.

the error itself:
image

@cmaglie cmaglie removed the type: bug label Sep 16, 2021
@rsora rsora added type: imperfection Perceived defect in any part of project topic: language server Related to the Arduino Language Server labels Sep 22, 2021
@per1234 per1234 changed the title faulty warning Spurious Language Server result for SparkFun:apollo3 platform Nov 25, 2021
cmaglie added a commit to arduino/arduino-language-server that referenced this issue Dec 13, 2021
Those errors are present in the CMSIS-Atmel package, and makes the
language server produce other bogus errors as a consquence of parse
failure of header files.

See arduino/arduino-ide#307
See arduino/arduino-ide#112
cmaglie added a commit to arduino/arduino-language-server that referenced this issue Dec 16, 2021
Those errors are present in the CMSIS-Atmel package, and makes the
language server produce other bogus errors as a consquence of parse
failure of header files.

See arduino/arduino-ide#307
See arduino/arduino-ide#112
@per1234
Copy link
Contributor

per1234 commented Jun 23, 2022

Closing as resolved by arduino/arduino-language-server#92

@per1234 per1234 closed this as completed Jun 23, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

7 participants