WiFive wrote:Factory will not be updated, but it is also not required. But it is insurance to be able to factory reset to a (hopefully) known stable firmware even after many ota updates.
Hi WiFive,
It is a very good point to reserve the
factory app. It let me feel we a making something really works for another 100 years.
As a more concrete expression, I write two partition csv setting for the same purpose, according to two different docus I mentioned above.
I will checkout if both of them works:
1. for ota updating
2. for spiffs partition filesystem accessing
Code: Select all
# Name, Type, Subtype, Offset, Size
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1M,
ota_1, 0, ota_1, , 1M,
ota_2, 0, ota_2, , 1M,
storage, data, spiffs, , 0xF0000,
Code: Select all
# Name, Type, Subtype, Offset, Size
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1M,
ota_1, data, ota, , 1M,
ota_2, data, ota, , 1M,
storage, data, spiffs, , 0xF0000,