Giter Site home page Giter Site logo

m5stack-board-support's Introduction

M5Stack

Installation Instructions

1. Install the SiLabs CP2104 Driver

2. Using through Arduino IDE

Instructions for Windows

Instructions for Mac

  • 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/tools/ && \
    python get.py && \
    cd ~/Documents/Arduino/libraries && \
    git clone https://github.com/m5stack/M5Stack.git
  • Restart Arduino IDE

Instructions for Debian/Ubuntu Linux

  • 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/tools/ && \
    python get.py && \
    cd ~/Arduino/libraries && \
    git clone https://github.com/m5stack/M5Stack.git
  • Restart Arduino IDE

Installing with Boards Manager(beta)

Starting with 1.6.4, Arduino allows installation of third-party platform packages using Boards Manager. We have packages available for Windows, Mac OS, and Linux (32 and 64 bit).

  • Install Arduino 1.8.2 from the Arduino website.
  • Start Arduino and open Preferences window.
  • Enter http://www.m5stack.com/download/package_m5stack_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
  • Open Boards Manager from Tools > Board menu and install ESP32 platform (and don't forget to select your ESP32 board from Tools > Board menu after installation).
  • If the MacOS complile error:
fork/exec /Users/[YOUR_USER_NAME]/Library/Arduino15/packages/M5Stack/hardware/esp32/0.0.1/tools/esptool: permission denied
Error compiling for board M5Stack-Core-ESP32.
  • Open Terminal and execute the following command (copy->paste and hit enter):
sudo chmod a+x /Users/[YOUR_USER_NAME]/Library/Arduino15/packages/M5Stack/hardware/esp32/0.0.1/tools/esptool

m5stack-board-support's People

Contributors

m5stackjimmylai avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.