Jump to content

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


Recommended Posts

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.

Link to post
Share on other sites
This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.