Files

30 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

Installation instructions for Mac OS
=====================================
- Install latest Arduino IDE from [arduino.cc](https://www.arduino.cc/en/Main/Software)
- Open Terminal and execute the following command (copy->paste and hit enter):
```bash
mkdir -p ~/Documents/Arduino/hardware/espressif && \
cd ~/Documents/Arduino/hardware/espressif && \
git clone https://github.com/espressif/arduino-esp32.git esp32 && \
2017-10-13 22:07:41 +03:00
cd esp32 && \
git submodule update --init --recursive && \
cd tools && \
2018-08-18 16:50:14 +10:00
python get.py
```
2018-05-14 13:04:44 +02:00
Where `~/Documents/Arduino` represents your sketch book location as per "Arduino" > "Preferences" > "Sketchbook location" (in the IDE once started). Adjust the command above accordingly if necessary!
 
2017-08-31 14:56:47 +02:00
- If you get the error below. Install the command line dev tools with xcode-select --install and try the command above again:
2018-05-14 13:04:44 +02:00
```xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun```
```xcode-select --install```
2018-08-18 16:50:14 +10:00
- Try `python3` instead of `python` if you get the error: `IOError: [Errno socket error] [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)` when running `python get.py`
2017-08-31 14:56:47 +02:00
2019-05-11 16:21:26 +08:00
- If you get the following error when running `python get.py` urllib.error.URLError: <urlopen error SSL: CERTIFICATE_VERIFY_FAILED, go to Macintosh HD > Applications > Python3.6 folder (or any other python version), and run the following scripts: Install Certificates.command and Update Shell Profile.command
- Restart Arduino IDE
2017-08-31 14:56:47 +02:00