mbed-os/storage/blockdevice/tests
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
..
TESTS/blockdevice Merge pull request #14397 from macronix/macronix_spi_NAND 2021-07-26 15:24:47 +02:00
UNITTESTS SFDP: Add unit tests for Sector Map Parameter Table parsing 2021-08-06 15:27:28 +01:00