STM32 Asset OTA

This project shows how to bundle a firmware binary for a coprocessor (in this case an STM32 microcontroller) and how to update the coprocessor when a new binary has been received.

The application registers a callback using System.onAssetOta(handleAssets). handleAssets will find the firmware binary for the coprocessor, flash it, then mark the assets as handled using System.assetsHandled(true) so that handleAssets is not called on next boot.

It uses the STM32_Flash library to abstract common code and make it easier to add to your application.



This example was shown at Spectra 2023. Github.