mbed-os/features
Christopher Haster e77d57e0bc fatfs: Added erase disk to format
Right now, many users are trying out many different filesystems.
Unfortunately, this can leave partially written filesystems on disk
in various states.

A very common pattern for using embedded filesystems is to attempt
a mount, and on failure, format the storage with the filesystem.

Unfortunately, this simply doesn't work if you try to change the
filesystem being used on a piece of storage. Filesystems don't always
use the same regions of storage, and can leave enough metadata lying
around from old filesystems to trick a different mount into thinking a
valid filesystem exists on disk. The filesystems we have were never
designed to check for malicious modification and can't protect against
arbitrary changes.

That being said, it's caused enough problems for users, so as a
workaround this patch adds a disk erase to the FAT filesystem format.
The most common error happens when you use LittleFS, followed by FAT,
followed again by LittleFS.

No other combination of filesystem usage has shown a similar failure,
but it is possible after extensive filesystem use, so it is still
suggested to force a format of the storage when changing filesystems.
2018-05-14 10:54:01 -05:00
..
FEATURE_BLE Handle required BLE5 softdevice commands 2018-04-19 09:40:41 -07:00
FEATURE_COMMON_PAL Clarify mesh configuration values. 2018-04-25 15:33:40 +03:00
FEATURE_LWIP/lwip-interface Merge pull request #6614 from pauluap/compiler_warning_macro_expression 2018-04-19 17:22:52 +02:00
FEATURE_UVISOR Update uvisor-tests.txt to disable EFM32 in Jenkins 2018-02-06 18:41:19 +02:00
TESTS/filesystem Add overloaded get_erase_size API with address parameter to all block devices 2018-03-23 00:34:45 +02:00
cellular Cellular: Refactor hex reading to prevent illegal cast 2018-04-30 13:25:15 +03:00
filesystem fatfs: Added erase disk to format 2018-05-14 10:54:01 -05:00
frameworks Enable flow control in Greentea 2018-04-17 14:16:31 -07:00
lorawan Merge pull request #6741 from kivaisan/refactor_maccommand 2018-04-30 11:58:33 -05:00
mbedtls Merge pull request #6509 from k-stachowiak/nvseed-check 2018-04-10 14:38:47 +02:00
nanostack Merge pull request #6745 from SeppoTakalo/mesh_docs 2018-04-26 20:16:40 -05:00
netsocket Copy edit UARTCellularInterface.h 2018-04-17 11:51:24 -05:00
nvstore Fix typo with NVStore 2018-04-11 14:34:54 +08:00
storage/FEATURE_STORAGE typos 2018-02-20 20:11:19 -05:00
unsupported Add support for STEVAL-3DP001V1 board, which has an STM32F401VE chip. This support is based on the NUCLEO-F401RE board. Which has the same amount of flash/ram but less pins available on the chip. 2018-02-28 09:37:39 +01:00