mbed-os/storage/kvstore
Lingkai Dong cf977b7aae TDBStore: the work buffer is at least the program size or 64 bytes
Previously, we always set the work buffer to 64 bytes, without
checking it was no less the actual program size. But we can't
simply switch to use the program size for the work buffer,
because if it's too small (e.g. 1 byte in some cases), we
will not be able to read the status header (24 bytes), and
small buffers means more underlying write operations and
lower efficiency.

This PR changes the work buffer size to be the program size,
or 64 bytes as an absolute minimum like before.
2020-12-02 14:57:43 +00:00
..
direct_access_devicekey CMake: Rename CMake targets 2020-11-06 17:25:22 +00:00
include/kvstore TDBStore: the work buffer is at least the program size or 64 bytes 2020-12-02 14:57:43 +00:00
kv_config CMake: Rename CMake targets 2020-11-06 17:25:22 +00:00
securestore CMake: Rename CMake targets 2020-11-06 17:25:22 +00:00
source TDBStore: the work buffer is at least the program size or 64 bytes 2020-12-02 14:57:43 +00:00
tests general_tests_phase_2: SecureStore's underlying TDBStore must be large enough 2020-11-12 16:46:03 +00:00
CMakeLists.txt CMake: Rename CMake targets 2020-11-06 17:25:22 +00:00
mbed_lib.json Fix CI build issue with GCC_ARM and ARMC6 toolchain 2020-07-22 10:23:12 -07:00