mirror of https://github.com/ARMmbed/mbed-os.git
Previously we get the common erase size of the whole flash, which may or may not exists if there are multiple regions. In this case the size returned is zero and the test fails. Fix this by allocating read and write buffers that are large enough for all sectors. The test itself already supports non-uniform erase sizes, and the erase size at any address can be smaller than our buffers. |
||
|---|---|---|
| .. | ||
| COMPONENT_DATAFLASH | ||
| COMPONENT_FLASHIAP | ||
| COMPONENT_I2CEE | ||
| COMPONENT_QSPIF | ||
| COMPONENT_SD | ||
| COMPONENT_SPIF | ||
| include/blockdevice | ||
| source | ||
| tests | ||