ESP8266 Support WIKI

User Tools

Site Tools


setup-linux-compiler-esp8266

**This is an old revision of the document!**

Table of Contents


Linux Compiler Setups

esp-open-sdk

esp-open-sdk generates a complete toolchain to build native firmware applications. Further information can be found on its GitHub Project Page.

Installation

Install dependencies

For distributions based on Debian (e.g. Ubuntu/Mint):

 sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf \
   flex bison texinfo gawk ncurses-dev libexpat-dev python sed git

:!: add libtool-bin if using Debian8/Jessie.

Build toolchain

 git clone https://github.com/pfalcon/esp-open-sdk.git
 cd esp-open-sdk
 make STANDALONE=y

Note: If you set STANDALONE=y, the current Espressif SDK will be directly integrated into your toolchain. This eases the development, but makes it difficult to upgrade SDK versions later on. Set STANDALONE=n if you want to separate the SDK.

Configure PATH

To call the generated xtensa-lx106-* binaries, you have to add the toolchain to your PATH. You can set PATH on every new terminal session:

 export PATH=[your esp-open-sdk directory]/bin:$PATH

To make this change permanent add the above line to your .profile file in your home directory.

=====Installation on most Linux Distros =====:

Make sure you have javaJRE installed first:

Go to Arduino.cc :

Download Latest IDE for Linux:

Extract it wherever you want it:

Go into that directory and open a terminal :

type “ ./Arduino ”:

Thats it . You can drag that shell script to the desktop if you wish

setup-linux-compiler-esp8266.1433151783.txt.gz · Last modified: 2015/06/01 09:43 by tytower

Page Tools