Setting up ESP32
2025-01-08
- In your Arduino IDE, go to File> Preferences

- Enter the following into the “Additional Board Manager URLs” field:
CODE
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Then, click the “OK” button:
Note:if you already have the ESP8266 boards URL, you can separate the URLs with a comma as follows
txt
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json, http://arduino.esp8266.com/stable/package_esp8266com_index.json
Open the Boards Manager. Go to Tools > Board > Boards Manager…

Search for ESP32 and press install button for the “ESP32 by Espressif Systems“:

That’s it. It should be installed after a few seconds.

and don't forget to download the drivers for windows