1 Star 0 Fork 0

Kevin_Xing / arduino-esp32

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
windows.md 2.31 KB
一键复制 编辑 原始数据 按行查看 历史

Steps to install Arduino ESP32 support on Windows

Tested on 32 and 64 bit Windows 10 machines

  1. Download and install the latest Arduino IDE Windows Installer from arduino.cc

  2. Download and install Git from git-scm.com

  3. Start Git GUI and run through the following steps:

    • Select Clone Existing Repository

      Step 1

    • 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

        Step 2 Step 3

    • 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

      Step 4

    • When get.exe finishes, you should see the following files in the directory

      Step 5

  4. Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required)

  5. Start Arduino IDE

  6. Select your board in Tools > Board menu

  7. Select the COM port that the board is attached to

  8. Compile and upload (You might need to hold the boot button while uploading)

    Arduino IDE Example

How to update to the latest code

  1. Start Git GUI and you should see the repository under Open Recent Repository. Click on it!

    Update Step 1

  2. From menu Remote select Fetch from > origin

    Update Step 2

  3. Wait for git to pull any changes and close Git GUI

  4. Open [ARDUINO_SKETCHBOOK_DIR]/hardware/espressif/esp32/tools and double-click get.exe

    Step 4

1
https://gitee.com/kevin-xing/arduino-esp32.git
git@gitee.com:kevin-xing/arduino-esp32.git
kevin-xing
arduino-esp32
arduino-esp32
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891