-
Notifications
You must be signed in to change notification settings - Fork 236
Failed to generate IntelliSense configuration with esp32 2.0.0 #1373
Comments
I see exactly the same issue. Create a new project with Arduino: Initialize, select any esp32 platform (from the 2.0.0 board install), and it will compile projects then print |
Same here, I'm using ESP32 core version 2.0.1. Any fix/workaround to this problem? |
Ok, so weird thing I notice is sometime C/C++ show warning:
So this problem seems to happen when Visual Studio (not the code, the IDE one) with MSVC installed. Apparently something cause confusion to the C/C++ extension. This is just a workaround, but deleting (or rename)
solve the problem. Still, I'm waiting a proper fix to this problem. |
Me also having the same issue... |
same issue!!! :( |
I don't know if this is the case for you, but I had this issue whenever the |
same issue!!! |
I was having this issue. I checked the configuration being used in the bottom right of the status bar, and it had been set back to Win32. I set this back to Arduino and intellisense is now working fine. I still get the message sometimes, but it seems to have resolved all of the squigglies, and intellisense is working properly now. |
I am having the same issue, and "arduino“ config of intellisense does not even appear......Only "Mac" was available (I'm using MacOS Big Sur) |
Same problem here on both MacOS and Windows 10. Esp8266 boards work fine, ESP32 boards fail to generate intellisense configuration. |
I have the same issue, but my target board is a Wemos D1 mini, which is an esp8266, not esp32. This occurs only for some projects, not others. I haven't been able to track down the differences that allow one project to generate intellisense, but not the other. I tried replacing the c_cpp_properties.json of the broken project with the file from the working project - made no difference. |
Also experiencing this issue with my ESP32. Just upgraded, before it worked just fine. Good news is I now no longer get the random panics on my interrupts... |
That's actually the solution - For some reason the Arduino get into trouble when the main.ino is not called sketch.ino or has the same name as its directory. |
Changing the sketch name to match capitalization was the key for me, along with restarting VSCode. Renaming from within VSCode was not enough to fix it. |
using the same project_filename.ino name and the folder name has solved the problem for me too. I did just like @Llaves did... renamed the directory and file, and then restarted VSCode. |
MacOS users should also make sure that both VSCode and Arduino app have the necessary disk rights to access where the files are located. In my case, I was experiencing this issue because VSCode was not allowed to have access to my downloads folder. You find the disk access settings under System Preferences > Security & Privacy > Privacy Tab > Files and Folders. |
When upgrading my esp32 package to version 2.0.0, I get the message "Failed to generate IntelliSense configuration". Downgrading to 1.0.6 fixes the issue, but I want to take advantage of the new hardware serial features. Any ideas what could be causing this? Is there a way to get a more detailed description of the failure?
The text was updated successfully, but these errors were encountered: