2 Star 5 Fork 0

Espressif Systems/arduino-esp32

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mac.md 1.57 KB
一键复制 编辑 原始数据 按行查看 历史

Installation instructions for Mac OS

  • Install latest Arduino IDE from arduino.cc

  • Open Terminal and execute the following command (copy->paste and hit enter):

    mkdir -p ~/Documents/Arduino/hardware/espressif && \
    cd ~/Documents/Arduino/hardware/espressif && \
    git clone https://github.com/espressif/arduino-esp32.git esp32 --depth 1 && \
    cd esp32 && \
    git submodule update --init --recursive --depth 1 && \
    cd tools && \
    python get.py 
    

    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!

  • If you get the error below. Install the command line dev tools with xcode-select --install and try the command above again:

    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

    xcode-select --install

  • 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

  • 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

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/espressif-systems/arduino-esp32.git
git@gitee.com:espressif-systems/arduino-esp32.git
espressif-systems
arduino-esp32
arduino-esp32
master

搜索帮助