Closed UnexpectedMaker closed 9 months ago
The current partition scheme (huge_app.csv) doesn't support OTA: https://github.com/espressif/arduino-esp32/blob/master/tools/partitions/huge_app.csv (see no ota_1 partition)
Sure, I guess the Q is, do we want to support it? Or do we want to claim all of the space it needs for the user storage partition?
Here's one possibility i came up with https://github.com/prplz/TinyWatch-official-firmware/blob/5e79d0c19c9cb46e05bd207dc49df51af556b784/Platform-io-source/tinywatch-partitions.csv: 2x app partitions of ~3.2MB and a fat partition of ~1.5MB. I simply copied the default 8MB partition scheme, changed the spiffs to fat and removed the coredump partition (i dont know they added it, some "esp insights" thing)
Implement the internal flash FS stuff we spoke about to remove the need for the external user flash.