commit | f3884eb9d4e45933f32f95445f3e8f97db990a17 | [log] [tgz] |
---|---|---|
author | David Rogers <davidrogers@google.com> | Sun Mar 08 19:21:40 2020 -0700 |
committer | CQ Bot Account <commit-bot@chromium.org> | Tue Mar 10 23:18:58 2020 +0000 |
tree | 116bbc43331477c97f4899637bc90bcd057391b6 | |
parent | ba4de1c27afb1a9ce150a4d27ede8ae2d492f12c [diff] |
pw_kvs: Fix garbage collection for redundant entries Fix garbage collection when using redudant entries. - Improve "find sector to write entry to" and "find sector to GC" algorithms so they work better with redundant entries. - Add support in GC to be aware of partially written keys, where the first entry is written to flash, but GC is needed to free space for the redundant entries to have space to be written. Tested with kEntryRedundancy up to 2. Change-Id: Iff88d970714fa1ece634af926a1838a5f7d5d7e7
Pigweed is an open source collection of embedded-targeted libraries--or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
Pigweed is in the early stages of development, and should be considered experimental. We’re continuing to evolve the platform and add new modules. We value developer feedback along the way.
Pigweed is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
If you'd like to get set up with Pigweed, please visit the setup guide, and then check out the Pigweed developer's guide for more information on how to get the most out of Pigweed.