-
Notifications
You must be signed in to change notification settings - Fork 226
Arduino.h and ESP8266 includes have squiggles #829
Comments
Here are a few pointers, someone helped me with mine.
|
Not sure what you mean on item 2.
I can control click on Arduino.h to see the copy. Looks like I have some other housekeeping to do. platformio is disabled right now.
|
Search for the "arduino.h" and inculd that path. For item 2. The compiler us have usr/.. i guess if you are using linux thats were it would be , which might be correct. |
Terse sample code at https://gist.github.com/supaplextor/1f1b32ba9849a0144ae3d426a1f9510c to reproduce the same issue. Builds , uploads and runs okay in Arduino 1.8.10. Should I retry with 1.8.8? vscode has squiggles for WProgram.h in /home/supaplex/Arduino/libraries/DHT_sensor_library_for_ESPx/DHTesp.h. Based on line 46 there it looks like ARDUINO is one reason why. Depending on how I edit .vscode/c_cpp_properties.json I get up to three references for Arduino.h.
Edit: now on Arduino 1.8.8. Same issue. |
Current c_cpp_properties.json
|
If I define ARDUINO just as the shell is using during build, it will build, and no squiggles on header files now. Ugly hack :) ...
arduino.json:
c_cpp_properties.json:
settings.json
|
I see... What a hack!!! Q: Did you have to add the Arduino extension? |
It's installed. (tossing some screenshots for the next guy) Had to adjust the Arduino path. I cleaned up the hourly build of Arduino, installed 1.8.8 to /usr/local/bin/arduino-1.8.8. The hourly build was rock solid, but I moved back to go along with the vscode install instructions.
|
This issue has been automatically marked as stale and closed because it has not had recent activity. Please feel free to open a new issue if you would like further discussion. Thank you for your contributions. |
I can still reproduce this with the latest release of both the app and the extension on Arch Linux. |
Any news about this? I still can reproduce it with the latest version. |
this should be resolved once #1141 is merged. I expect it to be later this week. |
Ubuntu 18.04.2 LTS
An hourly build of Arduino 1.8.10 from about May 25-30th (rock solid on its own)
Not sure what I did since yesterday, but I did have most of it working except these two libraries to include:
https://github.com/nickgammon/bitBangedSPI
https://github.com/nickgammon/MAX7219_Dot_Matrix
The text was updated successfully, but these errors were encountered: