• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

platformIO and finding correct board issues (but works in Arduino IDE??)

Q&A Forum › Category: ESP32 › platformIO and finding correct board issues (but works in Arduino IDE??)
0 Vote Up Vote Down
Tim asked 4 years ago

Hello,
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…
 
thanks
 
Tim

4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Tim.
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?
Regards.
Sara

0 Vote Up Vote Down
Tim answered 4 years ago

Hi Sara,
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.
thanks
Tim
 
 

0 Vote Up Vote Down
Tim answered 4 years ago

Hi Sara,
The new install worked so I’m happy! thanks for providing help, always good to know there is help when needed.
 
Tim
 
 

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
That’s great! I’m glad it is working now.
I’ll mark this issue as resolved.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.