{"id":2032,"date":"2015-01-24T12:50:01","date_gmt":"2015-01-24T12:50:01","guid":{"rendered":"http:\/\/41j.com\/blog\/?p=2032"},"modified":"2015-03-06T04:37:24","modified_gmt":"2015-03-06T04:37:24","slug":"esp8266-iot-sdk-0-9-5-release-notes","status":"publish","type":"post","link":"https:\/\/41j.com\/blog\/2015\/01\/esp8266-iot-sdk-0-9-5-release-notes\/","title":{"rendered":"esp8266 IoT SDK 0.9.5 release, my notes"},"content":{"rendered":"<p>A new version of the SDK was <a href=\"http:\/\/bbs.espressif.com\/viewtopic.php?f=5&#038;t=154\">released today<\/a>. 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&#8217;ll update here after I&#8217;ve tried flashing a device. (UPDATE: I tested the <a href=\"http:\/\/41j.com\/blog\/2015\/01\/esp8266-analogue-input\/\">ADC code from yesterday<\/a> with the new SDK and it worked well)<\/p>\n<p>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&#8217;t anything new that jumped out at me.<\/p>\n<p>UPDATE: I&#8217;ve left what&#8217;s written below for reference, but the esp-open-sdk is a better solution, you can see my notes of that <a href=\"http:\/\/41j.com\/blog\/2015\/03\/installing-esp8266-sdk\/\">here<\/a>.<\/p>\n<p>As part of the process of installing the new version of the SDK, I&#8217;ve been tidying up my toolchain a bit. A complete tarball of my setup is <a href=\"http:\/\/41j.com\/blog\/wp-content\/uploads\/2015\/01\/Espressif.0.9.5.tar.gz\">here<\/a>. This is the Linux setup. To download an install it you should be able to do the following:<\/p>\n<pre>\r\nsudo su\r\ncd \/opt\r\nwget http:\/\/41j.com\/blog\/wp-content\/uploads\/2015\/01\/Espressif.0.9.5.tar.gz\r\ntar xvzf Espressif.0.9.5.tar.gz\r\nln -s Espressif .\/Espressif.0.9.5\r\ncd Espressif\r\n#install the Xtensa compiler\r\ngit clone -b lx106 git:\/\/github.com\/jcmvbkbc\/crosstool-NG.git \r\ncd crosstool-NG\r\n.\/bootstrap && .\/configure --prefix=`pwd` && make && make install\r\n.\/ct-ng xtensa-lx106-elf\r\n.\/ct-ng build\r\nPATH=$PWD\/builds\/xtensa-lx106-elf\/bin:$PATH\r\n<\/pre>\n<p>However I&#8217;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 <a href=\"http:\/\/41j.com\/blog\/wp-content\/uploads\/2015\/01\/Makefile\">Makefile<\/a>. Here&#8217;s an example project I&#8217;ve been working on which uses this Makefile: <a href=\"http:\/\/41j.com\/blog\/wp-content\/uploads\/2015\/01\/bGeigieNano_ESP8266.tar.gz\">bGeigieNano_ESP8266.tar<\/a><\/p>\n<h4>This is a continuation of my notes on the esp8266 microcontroller, you can find a complete list of my esp8266 posts <a href=\"http:\/\/41j.com\/blog\/2015\/01\/esp8266-notes-summary\/\">here<\/a><\/h4>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;ll update here after I&#8217;ve tried flashing a device. (UPDATE: I tested the ADC [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-2032","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1RRoU-wM","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts\/2032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/comments?post=2032"}],"version-history":[{"count":4,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts\/2032\/revisions"}],"predecessor-version":[{"id":2203,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts\/2032\/revisions\/2203"}],"wp:attachment":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/media?parent=2032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/categories?post=2032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/tags?post=2032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}