Arduino giga R1 wifi ota

@schnoberts

  1. I have a solution with both M7 and M4 running so an OTA needs to update both, or at least I need to be able to OTA the M7 or OTA the M4 independently.

You can take a look here:

  1. Where are the details for the Giga R1 boot loader? I see in the Portenta H7 OTA example it writes storage type and data offset to some registers. I assume these are part of the boot loader "API"? Is there some documentation for this?

Bootloader sourcecode is here:

OTA relevant stuff is here:

  1. Can you use the external flash on the Giga for a firmware update?
    This is how it works. OTA binary is downloaded inside external flash filesystem. Binary can be both lzss compressed + ota header or siply a plain binary. Then bootloader is configured through RTC backup registers and at reset applies the update.