Esp32S3 : How to update partition table using OTA ?
Posted: Fri Nov 07, 2025 12:51 pm
Good afternoon,
I am working with an Esp32S3 and I manage to do OTA firmware update.
In order to do that, I have defined two partitions ota_0 and ota_1 in the partitions.csv file and I use the :
esp_ota_begin();
esp_ota_write();
methods in order to do OTA Update.
In my partitions.csv file, I have a partition called storage defined this way :
storage, data, fat, , 512K,
I would like to change the way it is defined like that :
storage, data, littlefs, , 512K,
So, in the next version of firmware, I will be able to use this partition as littlefs.
is it possible to update the partition table in OTA before updating the firmware please ?
If the answer is yes, could you please explain me how to do it ?
best regards,
thnak you for your help,
Thomas TRUILHE
I am working with an Esp32S3 and I manage to do OTA firmware update.
In order to do that, I have defined two partitions ota_0 and ota_1 in the partitions.csv file and I use the :
esp_ota_begin();
esp_ota_write();
methods in order to do OTA Update.
In my partitions.csv file, I have a partition called storage defined this way :
storage, data, fat, , 512K,
I would like to change the way it is defined like that :
storage, data, littlefs, , 512K,
So, in the next version of firmware, I will be able to use this partition as littlefs.
is it possible to update the partition table in OTA before updating the firmware please ?
If the answer is yes, could you please explain me how to do it ?
best regards,
thnak you for your help,
Thomas TRUILHE