ESP8266 Support WIKI

User Tools

Site Tools


setup-linux-compiler-esp8266

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
setup-linux-compiler-esp8266 [2015/03/29 08:00]
yeti mention Jessie and libtool-bin
setup-linux-compiler-esp8266 [2015/06/18 00:41]
terrye [Installation of Arduino IDE on most Linux Distros] Fix link reference
Line 1: Line 1:
- ====== Linux Compiler Setups ======+====== Linux Compiler Setups ======
 ===== esp-open-sdk ===== ===== esp-open-sdk =====
 **esp-open-sdk** generates a complete toolchain to build native firmware applications. Further information can be found on its [[https://​github.com/​pfalcon/​esp-open-sdk|GitHub Project Page]]. **esp-open-sdk** generates a complete toolchain to build native firmware applications. Further information can be found on its [[https://​github.com/​pfalcon/​esp-open-sdk|GitHub Project Page]].
  
-==== Installation ==== +===== Installation ​===== 
-=== Install dependencies ===+==== Install dependencies ​====
 For distributions based on Debian (e.g. Ubuntu/​Mint):​ For distributions based on Debian (e.g. Ubuntu/​Mint):​
 +<​code>​
 +sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf flex \
 +                     bison texinfo gawk ncurses-dev libexpat-dev python sed git
 +</​code>​
 +:!: add ''​libtool-bin''​ if using Debian8/​Jessie.
  
-   sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf \ +==== Build toolchain ==== 
-     flex bison texinfo gawk ncurses-dev libexpat-dev python sed git+<​code>​ 
 +git clone https://​github.com/​pfalcon/​esp-open-sdk.git 
 +cd esp-open-sdk 
 +make STANDALONE=y 
 +</​code>​
  
-:!: add libtool-bin ​if using Debian8/​Jessie.+NoteIf you set ''​STANDALONE=y'',​ then 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.
  
-=== Build toolchain ​===+==== 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:
  
-   git clone https://​github.com/​pfalcon/​esp-open-sdk.git +<​code>​ 
-   cd esp-open-sdk +export PATH=[your ​esp-open-sdk ​directory]/​bin:​$PATH 
-   make STANDALONE=y+</​code>​
  
-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.+To make this change permanent add the above line to your ''​.profile'' ​file in your home directory.
  
-=== Configure PATH === +-------------
-To call the generated ''​xtensa-lx106-*''​ binaries, you have to add the toolchain to your ''​PATH''​. +
-You can either set ''​PATH''​ on every new terminal session:+
  
-   ​export PATH=[your esp-open-sdk directory]/​bin:​$PATH+====== Installation of Arduino IDE on most Linux Distros ======
  
-To make this change permanent add the above line to your ''​.profile'' ​file in your home directory.+  * Make sure you have javaJRE installed first. 
 +  * Go to ''​Arduino.cc'' ​and download Latest IDE for Linux. 
 +  * Extract it wherever you want it. 
 +  * Go into that directory ​and open a terminal and type ''​./​Arduino''​ 
 + 
 +Thats it . You can drag that shell script to the desktop if you wish.  Now you follow the instructions on ESP8266/​Arduino to add the ESP8266 library 
 + 
 +Also see [[toolchain#​This section covers using the Arduino IDE.|Tool chain: using the Arduino IDE]].
setup-linux-compiler-esp8266.txt · Last modified: 2015/06/18 00:41 by terrye