• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

Sign in to follow this  

upload little project-code to use on a ESP 32 - generated with PlatformIO/VScode 

Recommended Posts

tarifa    0

hello dear experts

 


I am currently working on a little project -code to use on a ESP 32 - generated with PlatformIO/VScode 

the question is: how to upload the code to the  ESP32 (connected to the computer using USB) but the question is: there i need to find how to select the right USB port to upload the code.

i need to specify an 'upload_port' for environment or i might go and use global '--upload-port' option.

**How can I upload my code?**

Well again; i think that it is pretty important to find the USB port: 

 

i have to use WindowsKey-X, and then i need to select Device Manager,
afterward i have plug in the device and observe what's listed under Ports (COM & LPT) in other words; i will have  plug in the device and observe what's listed under Ports the one that just appeared has the port in brackets (COMn).

 

regarding the usage of PlatformIO
in platformio.ini  - the ini-file in our PlatformIo i need to initialise the project folder,i guess that i have to specify the port as a line under the platform section (env: square brackets line): 

here i have to set & configure the upload_port = comX,Y,Z or whatever we got from our Device Manager.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.