esp8266 IoT SDK 0.9.5 release, my notes

A new version of the SDK was released today. A few additional APIs have been introduced, but it appears that no existing functions have been changed/removed. I was able to replace the 0.9.3 SDK with this and compile my codebase successfully. I’ll update here after I’ve tried flashing a device. (UPDATE: I tested the ADC code from yesterday with the new SDK and it worked well)

There are a few interesting additions, there appears to be a new API called smartconfig, it looks like this allows the device to be configured from a smartphone. The protocols used are called AirKiss and ESP-TOUCH. I had a quick look through the library symbols, there wasn’t anything new that jumped out at me.

UPDATE: I’ve left what’s written below for reference, but the esp-open-sdk is a better solution, you can see my notes of that here.

As part of the process of installing the new version of the SDK, I’ve been tidying up my toolchain a bit. A complete tarball of my setup is here. This is the Linux setup. To download an install it you should be able to do the following:

sudo su
cd /opt
tar xvzf Espressif.0.9.5.tar.gz
ln -s Espressif ./Espressif.0.9.5
cd Espressif
#install the Xtensa compiler
git clone -b lx106 git:// 
cd crosstool-NG
./bootstrap && ./configure --prefix=`pwd` && make && make install
./ct-ng xtensa-lx106-elf
./ct-ng build

However I’ve not yet tried the above, if you are interesting in giving it ago please let me know. But these notes are currently for my reference. Once the SDK is installed, I used the following Makefile for building my projects Makefile. Here’s an example project I’ve been working on which uses this Makefile: bGeigieNano_ESP8266.tar

This is a continuation of my notes on the esp8266 microcontroller, you can find a complete list of my esp8266 posts here