ESP32 windows 开发环境

教程下载链接

02.ESP32教程-Windows开发环境搭建

Windows搭建Arduino

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

    Installer``` from [arduino.cc](https://www.arduino.cc/en/Main/Software)
    2. Download ```Windows x86 MSI installer``` or ```Windows x86-64 MSI installer``` from [python.org](https://www.python.org/downloads/release/python-2712/). When installing:
    - Install for all users
    - In ```Customize Python 2.7.X``` page, make sure you enable the last option: ```Add python.exe to Path

    ![Python](python-install.png)
    
  2. Download and install Git from git-scm.com
  3. Start

    Bash``` as Administrator and execute the following command
    ```bash
    python -m pip install --upgrade pip && \
    pip install pyserial

    Git Bash As Admin
    Git Bash Admin CMD

  4. Start

    Bash``` normally and execute the following command
    ```bash
    mkdir -p ~/Documents/Arduino/hardware/espressif && \
    cd ~/Documents/Arduino/hardware/espressif && \
    git clone https://github.com/espressif/arduino-esp32.git esp32 && \
    cd esp32/tools/ && \
    python get.py

    Git Bash User CMD

  5. Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required)
  6. Start Arduino IDE
  7. Select your board in Tools > Board menu
  8. Select the COM port that the board is attached to
  9. Compile and upload (You might need to hold the boot button while uploading)

    Arduino IDE Example