TinyWATCH-S3 / Official-firmware

Official firmware for Unexpected Maker's TinyWATCH S3
GNU General Public License v3.0
16 stars 7 forks source link

Add FS to internal flash partition for user settings #11

Closed UnexpectedMaker closed 9 months ago

UnexpectedMaker commented 10 months ago

Implement the internal flash FS stuff we spoke about to remove the need for the external user flash.

prplz commented 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)

UnexpectedMaker commented 9 months ago

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?

prplz commented 9 months ago

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)

UnexpectedMaker commented 9 months ago

Completed in https://github.com/TinyWATCH-S3/Official-firmware/pull/27