2016-12-06 20:09:23 +01:00
|
|
|
## Steps to install Arduino ESP32 support on Windows
|
|
|
|
### Tested on 32 and 64 bit Windows 10 machines
|
|
|
|
|
2016-12-06 20:26:47 +01:00
|
|
|
1. Download and install the latest Arduino IDE ```Windows Installer``` from [arduino.cc](https://www.arduino.cc/en/Main/Software)
|
2017-01-19 14:58:29 +01:00
|
|
|
2. Download and install Git from [git-scm.com](https://git-scm.com/download/win)
|
|
|
|
3. Start ```Git GUI``` and run through the following steps:
|
|
|
|
- Select ```Clone Existing Repository```
|
|
|
|
|
|
|
|
![Step 1](win-gui-1.png)
|
|
|
|
|
|
|
|
- Select source and destination
|
|
|
|
- Source Location: ```https://github.com/espressif/arduino-esp32.git```
|
|
|
|
- Target Directory: ```C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32```
|
|
|
|
- Click ```Clone``` to start cloning the repository
|
|
|
|
|
|
|
|
![Step 2](win-gui-2.png)
|
|
|
|
![Step 3](win-gui-3.png)
|
|
|
|
|
|
|
|
- Open ```C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32/tools``` and double-click ```get.exe```
|
|
|
|
|
|
|
|
![Step 4](win-gui-4.png)
|
2017-01-19 15:03:37 +01:00
|
|
|
|
|
|
|
- When ```get.exe``` finishes, you should see the following files in the directory
|
2017-01-19 14:58:29 +01:00
|
|
|
|
|
|
|
![Step 5](win-gui-5.png)
|
|
|
|
|
|
|
|
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)
|
2016-12-06 20:09:23 +01:00
|
|
|
|
2017-01-19 14:58:29 +01:00
|
|
|
![Arduino IDE Example](arduino-ide.png)
|
2016-12-06 20:26:47 +01:00
|
|
|
|
2017-01-19 14:58:29 +01:00
|
|
|
### How to update to the latest code
|
2016-12-06 20:26:47 +01:00
|
|
|
|
2017-01-19 14:58:29 +01:00
|
|
|
1. Start ```Git GUI``` and you should see the repository under ```Open Recent Repository```. Click on it!
|
|
|
|
|
2017-01-19 15:03:37 +01:00
|
|
|
![Update Step 1](win-gui-update-1.png)
|
2017-01-19 14:58:29 +01:00
|
|
|
|
|
|
|
2. From menu ```Remote``` select ```Fetch from``` > ```origin```
|
|
|
|
|
2017-01-19 15:03:37 +01:00
|
|
|
![Update Step 2](win-gui-update-2.png)
|
2017-01-19 14:58:29 +01:00
|
|
|
|
|
|
|
3. Wait for git to pull any changes and close ```Git GUI```
|
|
|
|
4. Open ```C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32/tools``` and double-click ```get.exe```
|
|
|
|
|
|
|
|
![Step 4](win-gui-4.png)
|