Difference between revisions of "IoTuz Dev Environment"

From Open Hardware Miniconf
Jump to: navigation, search
(ESP32 Developer Docs & Reosurces)
Line 20: Line 20:
  
 
The [http://esp32.com/ Espressif forum/website] is also a very useful resource.
 
The [http://esp32.com/ Espressif forum/website] is also a very useful resource.
 +
 +
=IoTuz Specific Code=
 +
 +
As part of the main [https://github.com/CCHS-Melbourne/IoTuz IoTuz repo], there is some [https://github.com/CCHS-Melbourne/IoTuz/tree/master/Software/Snippets Test code] for confirming that hardware on the IoTuz is working as expected.
  
 
=ESP32 Enabled Arduino IDE=
 
=ESP32 Enabled Arduino IDE=

Revision as of 04:57, 11 January 2017

The IoTuz uses the ESP32 at its core, and hence the dev environment for the IoTuz is the standard ESP-IDF dev environment/framework. The dev framework is a complete cross-compiling environment which includes the necessary pieces to not only develop software for the ESP32, but to push it to the device as well.

Installing the Dev Framework

Instructions for installing the ESP-IDF dev framework are at https://github.com/espressif/esp-idf#setting-up-esp-idf

Before the Open Hardware MiniConf, it's recommended that you complete steps 1-3 of the specific setup guides for your OS.

USB Serial Drivers

The on-board USB Serial chip for the IoTuz is the CP2102, and you'll need support for this to communicate with the board. You can download drivers from http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx if required.

If you have a Linux 3.x or later kernel, these drivers are usually supplied by default with the OS Distro. If you roll your own kernel or are using a really stripped down system, you may need to build them from source.

ESP32 Developer Docs & Resources

Documentation on the ESP32 for developers is at http://esp-idf.readthedocs.io/en/latest/index.html

The docs cover everything from installing dev environments (covered above), general architecture information, a developer API reference and a technical reference for the ESP32 itself.

The Espressif forum/website is also a very useful resource.

IoTuz Specific Code

As part of the main IoTuz repo, there is some Test code for confirming that hardware on the IoTuz is working as expected.

ESP32 Enabled Arduino IDE

There are install instructions for getting the ESP32 running in the Arduino IDE at https://github.com/espressif/arduino-esp32#installation-instructions

The Open Hardware Miniconf 2017 won't be using the ESP32 Arduino environment, however it's still quite usable, especially for basic stuff and testing. Most functions in the ESP-IDF are exposed and available in ESP Arduino shortly after they appear in ESP-IDF.