Installing

Boards Manager

This is the suggested installation method for end users.

Prerequisites

Instructions

  • Start Arduino and open Preferences window.
  • Enterhttp://arduino.esp8266.com/stable/package_esp8266com_index.jsonintoAdditional Board Manager URLs field. You can add multipleURLs, separating them with commas.
  • Open Boards Manager from Tools > Board menu and findesp8266platform.
  • Select the version you need from a drop-down box.
  • Clickinstall button.
  • Don’t forget to select your ESP8266 board from Tools > Board menuafter installation.

You may optionally usestaging boards manager package link:http://arduino.esp8266.com/staging/package_esp8266com_index.json.This may contain some new features, but at the same time, some thingsmight be broken.

Using git version

This is the suggested installation method for contributors and librarydevelopers.

Prerequisites

  • Arduino 1.6.8 (or newer, if you know what you are doing)
  • git
  • python 2.7
  • terminal, console, or command prompt (depending on you OS)
  • Internet connection

Instructions

  • Open the console and go to Arduino directory. This can be either yoursketchbook directory (usually<Documents>/Arduino), or thedirectory of Arduino application itself, the choice is up to you.

  • Clone this repository into hardware/esp8266com/esp8266 directory.Alternatively, clone it elsewhere and create a symlink, if your OSsupports them.

    cdhardwaremkdiresp8266comcdesp8266comgitclonehttps://github.com/esp8266/Arduino.gitesp8266

    You should end up with the following directory structure:

    Arduino|---hardware|---esp8266com|---esp8266|---bootloaders---cores---doc---libraries---package---tests---tools---variants---platform.txt---programmers.txt---README.md---boards.txt---LICENSE
  • Download binary tools

    cdesp8266/toolspythonget.py
  • Restart Arduino