Friday, October 7, 2016

ESP32 With Arduino IDE

Christmas 2015 yours truly was one of the lucky few in the world to receive theESP32 for experimenting. The board was not assembled, and it was quite intimidating to assemble the board with just a fine tip solder. The experiment is documented at this URL: http://www.instructables.com/id/Beginners-ESP32-Gu...
This afternoon, yours truly came across the Arduino Core for ESP32 on github URL here: https://github.com/espressif/arduino-esp32 . Very exited on this discovery, he was eager to experiment with it, but only when he is done with the consultations. If his STM serves him well, he recalled witnessing the exponential growth of IoT devices made with ESP8266 posted on the Internet, the ESP8266 board wars by the various board makers, professionals and amateurs alike. The growth was particular intriguing, especially after the ESP8266 development environment was ported from the regular GCC and make, to arduino IDE. He might relive the growth of ESP32, now with Arduino port.
After installing, the settings seems to be prim and proper. Check out the screenshot for details
The following was the setup environment for ESP32 with Arduino IDE
arduino IDE 1.6.5
Windows8
Python2.7


[UPDATE] The following setup that works: Ubuntu14.04 x86 desktop, Arduino IDE 1.6.12, python2.7


There is a gotcha moment; caveat emptor. [UPDATE] : works with Ubuntu14.04
This is a work in progress post. [UPDATE] : check out new screenshots
The instructions given in github is crystal clear
https://github.com/espressif/arduino-esp32 download the necessary files.
Here comes the fun bit, from the writeup it seems to be running off *nix. But since yours truly office laptop only comes with windows, he proceed nonetheless. Administrator rights needed to run the get.py
check out the screenshots for the details on win8.



Yours truly tried to compile the blink example with ESP32, but was greeted with this error.On hindsight, perhaps it is better to install in the following environment
Ubuntu14 or any other *nix distros

Ubuntu14.04 x86