ARMmbed / mbed-os-example-filesystem

The Mbed OS file system example
https://mbed.com
Apache License 2.0
16 stars 33 forks source link

update 5.15 branch with force format #118

Closed jamesbeyond closed 4 years ago

jamesbeyond commented 4 years ago

This example not always formating the blockdevice by default. It only performing format when mounting is failing.

In our daily test, the blockdeivce not always is a ready state. even mounting is not report any error. it can generate a crashing later. if the blockdevice is corrupted So in the PR adding the force format macro, so always reformat the chosen blockdeivice by default.

This one is for 5.15 branch testing. I will port this for the master as well