Developer Marc Schöndorf has launched a library for simply flashing over-the-air (OTA) updates onto Espressif ESP32 targets — with assist for Raspberry Pi’s RP2040 microcontroller to observe: PrettyOTA.
“I need to share a library for ESP32 sequence chips and Arduino I’ve been engaged on prior to now time,” Schöndorf writes of the undertaking. “A easy to make use of, trendy trying net interface to put in firmware updates OTA (over the air) inside your browser or straight from PlatformIO/Arduino IDE. PrettyOTA gives further options like one-click firmware rollback, distant reboot, authentication with server generated keys and reveals you basic details about the related board and put in firmware.”
If you happen to’ve received Espressif ESP32 tasks deployed within the discipline, PrettyOTA might help you retain them bang updated. (: Marc Schöndorf)
Over-the-air updates are the extra handy method of holding your Web of Issues (IoT) tasks recent: moderately than having to schlep over to the bodily gadget, unplug it, related it to a pc, flash a brand new firmware, and plug it again in once more, you may transmit authenticated updates over a community — however, Schöndorf says, present libraries and instruments depart loads to be desired.
“The usual OTA samples look very outdated and do not provide a lot performance,” he explains. “There are libraries with higher performance, however they aren’t free and lock down numerous performance behind a paywall. So I wished to make a free, easy to make use of and trendy OTA net interface with no annoying paywall and extra options.”
The library’s present launch helps the Espressif ESP32 vary, with Raspberry Pi RP2040 to observe in a future model. (: Gareth Halfacree)
Schöndorf’s PrettyOTA gives each an internet interface, full with drag-and-drop firmware add assist and board standing data, and compatibility with OTA flashing from PlatformIO and the Arduino IDE. Updates will be rolled again in a single click on, Schöndorf guarantees, and the library requires solely round 25kB of program flash on the gadget.
Schöndorf’s ESP32 model of the instrument is on the market within the Arduino IDE and PlatfomIO Library Managers now, with supply code on GitHub beneath the permissive zlib license; the developer has indicated that assist for the Raspberry Pi Pico W and different RP2040-based units is a piece in progress, and that Espressif ESP8266 compatibility might observe sooner or later. Extra data is on the market in Schöndorf’s Reddit publish.