How to Program ESP32 With VSC on Windows

by nikkischulz6 in Circuits > Microcontrollers

450 Views, 2 Favorites, 0 Comments

How to Program ESP32 With VSC on Windows

IMG_20230618_163735.jpg

I wanted to programm the ESP32 Wroom board with ESP IDF.

I wanted to integrate it in Visual studio code.

So i checked the official documentation and ran a simple project.

For everybody who needs just another view on the official description, this tutorial may help

Supplies

ESP32 WROOM

Visual studio Code

Windows

New Project

  • First create a new folder for your project.
  • Download the vsc extention: https://github.com/espressif/vscode-esp-idf-extension/blob/HEAD/docs/tutorial/install.md
  • You need to install or choose the esp idf drivers
  • so if not installed select a esp idf release for download
  • install !
  • It will take its time for downloading!
  • then it should be ready

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/


so how to program the esp?

with a usb micro cable and you need to open a example by espressif with

control P and then entering example

when they are loaded you can select a simple one

then you need to build the project and upload it with the extention tools

USB Driver COM Ok?


But you need to make sure that the windows COM Driver is alright!

This is how it looked like...

Choose the Right Target and FLASH

Then I chose the right esp32 target rebuilt and flashed it!