|
2 | 2 | ### Tested on 32 and 64 bit Windows 10 machines
|
3 | 3 |
|
4 | 4 | 1. Download and install the latest Arduino IDE ```Windows Installer``` from [arduino.cc](https://www.arduino.cc/en/Main/Software)
|
5 |
| -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: |
6 |
| - - Install for all users |
7 |
| - - In ```Customize Python 2.7.X``` page, make sure you enable the last option: ```Add python.exe to Path``` |
8 |
| -  |
9 |
| -3. Download and install Git from [git-scm.com](https://git-scm.com/download/win) |
10 |
| -4. Start ```Git Bash``` as Administrator and execute the following command |
| 5 | +2. Download and install Git from [git-scm.com](https://git-scm.com/download/win) |
| 6 | +3. Start ```Git GUI``` and run through the following steps: |
| 7 | + - Select ```Clone Existing Repository``` |
| 8 | + |
| 9 | +  |
| 10 | + |
| 11 | + - Select source and destination |
| 12 | + - Source Location: ```https://github.com/espressif/arduino-esp32.git``` |
| 13 | + - Target Directory: ```C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32``` |
| 14 | + - Click ```Clone``` to start cloning the repository |
| 15 | + |
| 16 | +  |
| 17 | +  |
| 18 | + |
| 19 | + - Open ```C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32/tools``` and double-click ```get.exe``` |
| 20 | + |
| 21 | +  |
| 22 | + - When ```get.exe``` finishes, you should the following files you the directory |
| 23 | + |
| 24 | +  |
| 25 | + |
| 26 | +4. Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required) |
| 27 | +5. Start Arduino IDE |
| 28 | +6. Select your board in ```Tools > Board``` menu |
| 29 | +7. Select the COM port that the board is attached to |
| 30 | +8. Compile and upload (You might need to hold the boot button while uploading) |
11 | 31 |
|
12 |
| - ```bash |
13 |
| - python -m pip install --upgrade pip && \ |
14 |
| - pip install pyserial && \ |
15 |
| - pip install requests |
16 |
| - ``` |
17 |
| -  |
18 |
| -  |
19 |
| -5. Start ```Git Bash``` normally and execute the following command |
| 32 | +  |
20 | 33 |
|
21 |
| - ```bash |
22 |
| - mkdir -p ~/Documents/Arduino/hardware/espressif && \ |
23 |
| - cd ~/Documents/Arduino/hardware/espressif && \ |
24 |
| - git clone https://github.com/espressif/arduino-esp32.git esp32 && \ |
25 |
| - cd esp32/tools/ && \ |
26 |
| - python get.py |
27 |
| - ``` |
28 |
| -  |
29 |
| -6. Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required) |
30 |
| -7. Start Arduino IDE |
31 |
| -8. Select your board in ```Tools > Board``` menu |
32 |
| -9. Select the COM port that the board is attached to |
33 |
| -10. Compile and upload (You might need to hold the boot button while uploading) |
| 34 | +### How to update to the latest code |
34 | 35 |
|
35 |
| -  |
| 36 | +1. Start ```Git GUI``` and you should see the repository under ```Open Recent Repository```. Click on it! |
| 37 | + |
| 38 | +  |
| 39 | + |
| 40 | +2. From menu ```Remote``` select ```Fetch from``` > ```origin``` |
| 41 | + |
| 42 | +  |
| 43 | + |
| 44 | +3. Wait for git to pull any changes and close ```Git GUI``` |
| 45 | +4. Open ```C:/Users/[YOUR_USER_NAME]/Documents/Arduino/hardware/espressif/esp32/tools``` and double-click ```get.exe``` |
| 46 | + |
| 47 | +  |
0 commit comments