Reword some instructions

This commit is contained in:
me-no-dev 2017-11-28 11:09:41 +01:00
parent a907113ba2
commit 823fb8fdbb

View File

@ -1,49 +1,49 @@
## Steps to install Arduino ESP32 support on Windows ## Steps to install Arduino ESP32 support on Windows
### Tested on 32 and 64 bit Windows 10 machines ### Tested on 32 and 64 bit Windows 10 machines
1. Download and install the latest Arduino IDE ```Windows Installer``` from [arduino.cc](https://www.arduino.cc/en/Main/Software) 1. Download and install the latest Arduino IDE ```Windows Installer``` from [arduino.cc](https://www.arduino.cc/en/Main/Software)
2. Download and install Git from [git-scm.com](https://git-scm.com/download/win) 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: 3. Start ```Git GUI``` and run through the following steps:
- Select ```Clone Existing Repository``` - Select ```Clone Existing Repository```
![Step 1](win-screenshots/win-gui-1.png) ![Step 1](win-screenshots/win-gui-1.png)
- Select source and destination - Select source and destination
- Source Location: ```https://github.com/espressif/arduino-esp32.git``` - Sketchbook Directory: Usually ```C:/Users/[YOUR_USER_NAME]/Documents/Arduino``` and is listed underneath the "Sketchbook location" in Arduino preferences.
- Target Directory: ```C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32``` - Source Location: ```https://github.com/espressif/arduino-esp32.git```
- Change this to your Sketchbook Location if you have a different directory listed underneath the "Sketchbook location" in Arduino preferences. - Target Directory: ```[ARDUINO_SKETCBOOK_DIR]/hardware/espressif/esp32```
- Click ```Clone``` to start cloning the repository - Click ```Clone``` to start cloning the repository
![Step 2](win-screenshots/win-gui-2.png) ![Step 2](win-screenshots/win-gui-2.png)
![Step 3](win-screenshots/win-gui-3.png) ![Step 3](win-screenshots/win-gui-3.png)
- Open ```C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32/tools``` and double-click ```get.exe``` - Open ```[ARDUINO_SKETCBOOK_DIR]/hardware/espressif/esp32/tools``` and double-click ```get.exe```
![Step 4](win-screenshots/win-gui-4.png) ![Step 4](win-screenshots/win-gui-4.png)
- When ```get.exe``` finishes, you should see the following files in the directory - When ```get.exe``` finishes, you should see the following files in the directory
![Step 5](win-screenshots/win-gui-5.png) ![Step 5](win-screenshots/win-gui-5.png)
4. Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required) 4. Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required)
5. Start Arduino IDE 5. Start Arduino IDE
6. Select your board in ```Tools > Board``` menu 6. Select your board in ```Tools > Board``` menu
7. Select the COM port that the board is attached to 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) 8. Compile and upload (You might need to hold the boot button while uploading)
![Arduino IDE Example](win-screenshots/arduino-ide.png) ![Arduino IDE Example](win-screenshots/arduino-ide.png)
### How to update to the latest code ### How to update to the latest code
1. Start ```Git GUI``` and you should see the repository under ```Open Recent Repository```. Click on it! 1. Start ```Git GUI``` and you should see the repository under ```Open Recent Repository```. Click on it!
![Update Step 1](win-screenshots/win-gui-update-1.png) ![Update Step 1](win-screenshots/win-gui-update-1.png)
2. From menu ```Remote``` select ```Fetch from``` > ```origin``` 2. From menu ```Remote``` select ```Fetch from``` > ```origin```
![Update Step 2](win-screenshots/win-gui-update-2.png) ![Update Step 2](win-screenshots/win-gui-update-2.png)
3. Wait for git to pull any changes and close ```Git GUI``` 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``` 4. Open ```[ARDUINO_SKETCBOOK_DIR]/hardware/espressif/esp32/tools``` and double-click ```get.exe```
![Step 4](win-screenshots/win-gui-4.png) ![Step 4](win-screenshots/win-gui-4.png)