The key value storage library provides an API enabling use of non-volatile storage to store data in key-value pairs.
APIs for storing key-value pairs of data in non-volatile storage.
- Fixed NULL dereference in mtb_kvstore_read function when checking if key exists in storage by passing NULL into both data and size parameters
- Added new function: mtb_kvstore_ensure_capacity
- Added new cy_rslt_t return type: MTB_KVSTORE_BUFFER_TOO_SMALL
- New partial read funtion: can read size number of bytes starting from offset bytes into the value
- Read functions set unused read buffer space to 0's
- New key exists and value size functions
- Fixed issue with RTOS_AWARE component not being handled in one case
- Minor documentation updates
- Initial release
This version of the Key Value Storage Library was validated for compatibility with the following Software and Tools:
Software and Tools | Version |
---|---|
ModusToolbox™ Software Environment | 2.4.0 |
GCC Compiler | 10.3.1 |
IAR Compiler | 8.4 |
ARM Compiler | 6.11 |
Minimum required ModusToolbox™ Software Environment: v2.0
Use the following links for more information, as needed:
- API Reference Guide
- Cypress Semiconductor, an Infineon Technologies Company
- Infineon GitHub
- ModusToolbox™
© Cypress Semiconductor Corporation (an Infineon company) or an affiliate of Cypress Semiconductor Corporation, 2021.