Rtos API example

Embed: (wiki syntax)

« Back to documentation index

flush3.cpp File Reference

flush3.cpp File Reference

Test cases to flush KVs in the CFSTORE using the drv->Flush() interface. More...

Go to the source code of this file.


Detailed Description

Test cases to flush KVs in the CFSTORE using the drv->Flush() interface.

Please consult the documentation under the test-case functions for a description of the individual test case.

CFSTORE flash-journal sync mode test for github issue Heap Corruption by Jenia Kogan: https://github.com/ARMmbed/configuration-store/issues/17 No evidence of heap corruption has been found but the test case put together to investiage that problem did result in a bug being found, that being that when the last attribute was deleted from CFSTORE, this was not properly committed to flash, so that CFSTORE was re-initialised, the old attribute was read back from flash into the store. This has now been fixed.

Definition in file flush3.cpp.