Download and install the latest Arduino IDE Windows Installer
from arduino.cc
Download and install Git from git-scm.com
Start Git GUI
and run through the following steps:
Select Clone Existing Repository
Select source and destination
Sketchbook Directory: Usually C:/Users/[YOUR_USER_NAME]/Documents/Arduino
and is listed underneath the "Sketchbook location" in Arduino preferences.
Source Location: https://github.com/espressif/arduino-esp32.git
Target Directory: [ARDUINO_SKETCHBOOK_DIR]/hardware/espressif/esp32
Click Clone
to start cloning the repository
open a Git Bash
session pointing to [ARDUINO_SKETCHBOOK_DIR]/hardware/espressif/esp32
and execute git submodule update --init --recursive
Open [ARDUINO_SKETCHBOOK_DIR]/hardware/espressif/esp32/tools
and double-click get.exe
When get.exe
finishes, you should see the following files in the directory
Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required)
Start Arduino IDE
Select your board in Tools > Board
menu
Select the COM port that the board is attached to
Compile and upload (You might need to hold the boot button while uploading)
Start Git GUI
and you should see the repository under Open Recent Repository
. Click on it!
From menu Remote
select Fetch from
> origin
Wait for git to pull any changes and close Git GUI
Open [ARDUINO_SKETCHBOOK_DIR]/hardware/espressif/esp32/tools
and double-click get.exe
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。