Using the official esp_https_ota.c to update a non-firmware partition (spiffs)
Posted: Sat Nov 09, 2024 4:59 pm
Hi
I have seen a repository and old discussions about updating a spiffs partition OTA (in my case, the web server data). But they all seem to start from scratch and essentially rewrite most of esp_https_ota.c
Is there a way to use (part of) the official espressif maintained esp_https_ota.c code to update a non-firmware partition? Seems odd to have to re-write a worse version of esp_https_ota.c just to change the partition in writes to.
Thanks
I have seen a repository and old discussions about updating a spiffs partition OTA (in my case, the web server data). But they all seem to start from scratch and essentially rewrite most of esp_https_ota.c
Is there a way to use (part of) the official espressif maintained esp_https_ota.c code to update a non-firmware partition? Seems odd to have to re-write a worse version of esp_https_ota.c just to change the partition in writes to.
Thanks