如何安裝 Arduino IDE for WiFiBoy32 (Linux 或 macOS)


  • wbo

    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 && \
      cd esp32 && \
      git submodule update --init --recursive && \
      cd tools && \
      python get.py
    • 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

    • Restart Arduino IDE

    Installation instructions for Debian / Ubuntu OS

    • Install latest Arduino IDE from arduino.cc

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

      sudo usermod -a -G dialout $USER && \
      sudo apt-get install git && \
      wget https://bootstrap.pypa.io/get-pip.py && \
      sudo python get-pip.py && \
      sudo pip install pyserial && \
      mkdir -p ~/Arduino/hardware/espressif && \
      cd ~/Arduino/hardware/espressif && \
      git clone https://github.com/espressif/arduino-esp32.git esp32 && \
      cd esp32 && \
      git submodule update --init --recursive && \
      cd tools && \
      python get.py
    • Restart Arduino IDE

    • If you have Arduino.app installed to /Applications/, modify the installation as follows, beginning at mkdir -p ~/Arduino...:

      cd /Applications/Arduino_*/Contents/java/hardware/
      mkdir -p espressif && \
      cd espressif && \
      git clone https://github.com/espressif/arduino-esp32.git esp32 && \
      cd esp32 && \
      git submodule update --init --recursive && \
      cd tools && \
      python get.py```

    Installation instructions for Fedora

    • Install the latest Arduino IDE from arduino.cc. $ sudo dnf -y install arduino will most likely install an older release.

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

      sudo usermod -a -G dialout $USER && \
      sudo dnf install git python3-pip python3-pyserial && \
      mkdir -p ~/Arduino/hardware/espressif && \
      cd ~/Arduino/hardware/espressif && \
      git clone https://github.com/espressif/arduino-esp32.git esp32 && \
      cd esp32 && \
      git submodule update --init --recursive && \
      cd tools && \
      python get.py
    • Restart Arduino IDE

    Installation instructions for openSUSE

    • Install the latest Arduino IDE from arduino.cc.

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

      sudo usermod -a -G dialout $USER && \
      if [ `python --version 2>&1 | grep '2.7' | wc -l` = "1" ]; then \
      sudo zypper install git python-pip python-pyserial; \
      else \
      sudo zypper install git python3-pip python3-pyserial; \
      fi && \
      mkdir -p ~/Arduino/hardware/espressif && \
      cd ~/Arduino/hardware/espressif && \
      git clone https://github.com/espressif/arduino-esp32.git esp32 && \
      cd esp32 && \
      git submodule update --init --recursive && \
      cd tools && \
      python get.py
    • Restart Arduino IDE

    Installation instructions for using PlatformIO

    PlatformIO is an open source ecosystem for IoT development with cross platform build system, library manager and full support for Espressif ESP32 development. It works on the popular host OS: Mac OS X, Windows,Linux 32/64, Linux ARM (like Raspberry Pi, BeagleBone, CubieBoard).



看起來你的連線到 WiFiBoy.Club 已經遺失,請稍等一下我們嘗試重新連線。