Skip to content

Commit 13268b9

Browse files
authored
Update README.md
- Link to Windows instructions - Update instructions for Linux and Mac
1 parent 42c1d58 commit 13268b9

File tree

1 file changed

+36
-15
lines changed

1 file changed

+36
-15
lines changed

README.md

+36-15
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,41 @@ WiFiClient, WiFiServer and WiFiUdp are not quite ready yet because there are sti
1919
You can try WiFiClient but you need to disconnect the client yourself to be sure that connection is closed.
2020

2121
### Installation
22-
- Install Arduino IDE
23-
- Go to Arduino IDE installation directory
24-
- Clone this repository into hardware/espressif/esp32 directory (or clone it elsewhere and create a symlink)
25-
```bash
26-
cd hardware
27-
mkdir espressif
28-
cd espressif
29-
git clone https://github.com/espressif/arduino-esp32.git esp32
30-
```
31-
- Download binary tools (you need Python 2.7)
32-
```bash
33-
cd esp32/tools
34-
python get.py
35-
```
36-
- Restart Arduino
22+
23+
####[Instructions for Windows](doc/windows.md)
24+
25+
#### Instructions for Mac
26+
- Install latest Arduino IDE from [arduino.cc](https://www.arduino.cc/en/Main/Software)
27+
- Open Terminal and execute the following command (copy->paste and hit enter):
28+
29+
```bash
30+
curl -o get-pip.py https://bootstrap.pypa.io/get-pip.py && \
31+
sudo python get-pip.py && \
32+
sudo pip install pyserial && \
33+
mkdir -p ~/Documents/Arduino/hardware/espressif && \
34+
cd ~/Documents/Arduino/hardware/espressif && \
35+
git clone https://github.com/espressif/arduino-esp32.git esp32 && \
36+
cd esp32/tools/ && \
37+
python get.py
38+
```
39+
- Restart Arduino IDE
40+
41+
#### Instructions for Debian/Ubuntu Linux
42+
- Install latest Arduino IDE from [arduino.cc](https://www.arduino.cc/en/Main/Software)
43+
- Open Terminal and execute the following command (copy->paste and hit enter):
44+
45+
```bash
46+
sudo usermod -a -G dialout $USER && \
47+
sudo apt-get install git && \
48+
wget https://bootstrap.pypa.io/get-pip.py && \
49+
sudo python get-pip.py && \
50+
sudo pip install pyserial && \
51+
mkdir -p ~/Arduino/hardware/espressif && \
52+
cd ~/Arduino/hardware/espressif && \
53+
git clone https://github.com/espressif/arduino-esp32.git esp32 && \
54+
cd esp32/tools/ && \
55+
python get.py
56+
```
57+
- Restart Arduino IDE
3758

3859
![Pin Functions](doc/esp32_pinmap.png)

0 commit comments

Comments
 (0)