OTA with external reources
Posted: Sun Jul 30, 2023 6:37 am
Hi,
I have started working on a new project that uses OTA. For the program code this is working fine. It uploads code from the web and runs in new partition.
However, I want to expand the application to include html web files and mp3 files (it is ADF project).
At the moment the html files are in a "web_store" partition in the and mp3 files in "audio" partition.
This works ok if I only want to make changes to the code but if I want to change some of the html elements or mp3 files, what is a good way do this? Like, could I use a rest api to simply get the files and then some function to flash then during run time into the partition?
Thanks
I have started working on a new project that uses OTA. For the program code this is working fine. It uploads code from the web and runs in new partition.
However, I want to expand the application to include html web files and mp3 files (it is ADF project).
At the moment the html files are in a "web_store" partition in the and mp3 files in "audio" partition.
This works ok if I only want to make changes to the code but if I want to change some of the html elements or mp3 files, what is a good way do this? Like, could I use a rest api to simply get the files and then some function to flash then during run time into the partition?
Thanks