Installing the ESP8266 toolchain

Okay, some pretext on what system I’m currently using and on which these steps are based on. I’m running Xubuntu 14.04 64bit, the steps for 32bit or the normal Ubuntu may be a little different. There are plenty of guides out there that can assist with getting the toolchain up and running on those configurations.

sudo -i

apt-get install git autoconf build-essential gperf bison flex texinfo libtool libncurses5-dev wget gawk libc6-dev-amd64 python-serial libexpat-dev dpkg-dev

cd /opt

git clone https://github.com/pfalcon/esp-open-sdk.git

chown -R {YOUR_USERNAME} esp-open-sdk/

exit

cd /opt/esp-open-sdk/

make STANDALONE=y

Now this step is going to take a while, so just let it set and be patient. After this you’re ready to start making your own programs! See my previous post for some suggestions on where to start, or begin by simply getting the blinky code and flashing that onto your ESP8266.

Leave a Reply