arduino / ArduinoCore-mbed

348 stars 202 forks source link

[STM32H7] Provisioning fs reformat #957

Open andreagilardoni opened 1 month ago

andreagilardoni commented 1 month ago

Changing flash partitioning scheme in order to make room for a KV store

andreagilardoni commented 1 month ago

Furthermore if you keep the KVstorage in partition 3 for both schemes you should be able switch between them without erase the MBR at all

I tried switching from this scheme to the older one and something bad happened and the only way to make it work properly was to erase the partitions. I am double checking this.

andreagilardoni commented 1 month ago

I confirm that without the MBR erase I cannot use the old partitioning scheme. @pennam do you think it is better to split this PR into 2? the first one with just the MBR erase command and the other with the new partitioning scheme, so that one can rollback with this fix present.