This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
setup-linux-compiler-esp8266 [2014/12/31 13:50] george-hopkins created |
setup-linux-compiler-esp8266 [2015/06/01 09:49] tytower [Installation] |
||
---|---|---|---|
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]]. | ||
Line 9: | Line 9: | ||
sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf \ | sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf \ | ||
flex bison texinfo gawk ncurses-dev libexpat-dev python sed git | flex bison texinfo gawk ncurses-dev libexpat-dev python sed git | ||
+ | |||
+ | :!: add libtool-bin if using Debian8/Jessie. | ||
=== Build toolchain === | === Build toolchain === | ||
Line 20: | Line 22: | ||
=== Configure PATH === | === Configure PATH === | ||
To call the generated ''xtensa-lx106-*'' binaries, you have to add the toolchain to your ''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: | + | You can set ''PATH'' on every new terminal session: |
export PATH=[your esp-open-sdk directory]/bin:$PATH | 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. | To make this change permanent add the above line to your ''.profile'' file in your home directory. | ||
+ | |||
+ | ------------------------------------------------------------------------------------------------- | ||
+ | _________________________________________________________________________________________________ | ||
+ | |||
+ | |||
+ | __=====**Installation of Arduino IDE 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. | ||
+ | |||
+ | Now you follow the instructions on ESP8266/Arduino to add the ESP8266 library |