mbed-os/storage
Lingkai Dong a16c2bf173 SFDP: Add unit tests for Sector Map Parameter Table parsing
Add tests for `sfdp_parse_sector_map_table()` which currently (at the
time of this commit) supports flash devices with
* no Sector Map Parameter Table (i.e. the whole flash is uniform and
non-configurable)
* a single descriptor in the Sector Map Parameter Table (i.e. the
flash layout is non-configurable and has multiple regions)

Support and unit tests for flashes with multiple configurable layouts
will be added in the future.

Note: The implementation of `sfdp_parse_sector_map_table()` assumes
the table to be valid if read succeeds, so the SFDP reader callback
needs to ensure it reads data correctly or return an error.
2021-08-06 15:27:28 +01:00
..
blockdevice SFDP: Add unit tests for Sector Map Parameter Table parsing 2021-08-06 15:27:28 +01:00
docs Refactor KVStore config override explanation 2021-05-11 17:19:16 +01:00
filesystem Merge pull request #14911 from DDC-NDRS/fatfs_0.14b 2021-07-30 11:46:42 +01:00
kvstore Unit tests: Remove redundant CMake target mbed-headers-base 2021-08-02 17:42:43 +01:00
platform CMake: Rename CMake targets 2020-11-06 17:25:22 +00:00
CMakeLists.txt Unit tests: Create mbed-headers-filesystem 2021-07-02 16:25:43 +01:00