mbed-os for GR-LYCHEE

Dependents:   mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more

Embed: (wiki syntax)

« Back to documentation index

example4.cpp File Reference

example4.cpp File Reference

Test case to demonstrate a subset of the API functions each work correctly. More...

Go to the source code of this file.


Detailed Description

Test case to demonstrate a subset of the API functions each work correctly.

Test case created from Issue 10 code supplied by Motti Gondabi. The code:

  • creates a KV
  • writes the KV
  • closes the KV
  • flushes the KV
  • opens the KV.
  • deletes the KV.
  • flushes empty configuration store.

The test case makes sure that the implementation can flush an empty configuration store without causing errors. This has only been possible since flash-journal-strategy-sequential v0.4.0.

Definition in file example4.cpp.