Flashing to an ESP32 from Cloud 9 based development

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Flashing to an ESP32 from Cloud 9 based development

Postby kolban » Tue Mar 21, 2017 6:29 pm

I'm studying the Cloud 9 development environment and, so far, I'm very much liking what I see (I haven't tried any of the alternatives ... but this one seems to be working great). My plan is to write it up once Ive got a good recipe.

At a high level, I can build ESP32 applications in my browser with the compute and storage being hosted by Cloud 9. The result is our standard build outputs.

The puzzle I am facing are the options for moving my compiled code into ESP32 flash. The binaries live in the cloud and I can, of course, copy them to my local PC for flashing. However, can we do better? What options might exist to flash to an ESP32 directly from a browser or through some other tool?

I'm using Chrome and Chrome OS has Serial port access. Is there a design guide for writing a custom "esptool"?

Anyone thought through this style of working previously?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

MalteJ
Posts: 62
Joined: Wed Sep 21, 2016 10:26 pm

Re: Flashing to an ESP32 from Cloud 9 based development

Postby MalteJ » Tue Mar 21, 2017 7:58 pm

We have our code on Gitlab.com and use Gitlab CI for building artifacts. I have installed a Gitlab CI runner on a virtual machine that will do the compiling. The artifacts are uploaded to an S3-compatible BLOB-Store.
Using the OTA functionality the esp32 downloads the firmware images to its second partition and restarts when it is done and boots the new firmware.
Works quite nice!

Malte

Who is online

Users browsing this forum: No registered users and 213 guests