I have a few identical ESP32 boards that I have no issues using with the Arduino IDE. i.e I followed the ESP32 add-on instructions with no issues and can upload basic sketches with no problems.
But, I want to move to the Visual Studio/PlatformIO system as I want to build a few applications.
Problem is that I cannot get the right platform in Visual Studio/PlatformIO.
The board I am using is labelled as ESP-WROOM 32. In the Arduino IDE I can use ” ESP wrover module” and “ESP Dev module”. I haven’t tried anymore as 2 wins is 2 wins =)
But with PlatformIO I cannot make a successful connection? I tried a few different boards but no luck. The message is the same “Error: Could not find the package with ‘esp32’ requirements for your system ‘windows_amd64’ ”
So any ideas? I would really like to use PlatformIO but it seems like a long journey to try each individual board option…
That seems a problem with your PIO installation rather than the selected board.
What is the PIO version that you have installed?
Can you try uninstalling PIO and install it again on VS Code?
thanks for you prompt reply. I have had a bit of success by installing everything on another laptop (my personal one) and can now upload to the ESP32. This is great as it confirms what I have does work.
Problem is that I want to use my work laptop (which has some funny “domains” setup for our work network). I’m also wondering if the default area which is a very long address is causing the issues? the error I am getting is that it can’t find the src or include files (and I checked and they are there). So I’m thinking a clean install directly to my hardrive might solve the issues.
A funny thing is that when I did initially try to delete and reinstall VS, the new version showed as having PlatformIO already there??
Anyway, I’ll go and try to uninstall everything in my work laptop and reinstall to the drive itself.
The new install worked so I’m happy! thanks for providing help, always good to know there is help when needed.