commit | bce7ebb1cb9638e249591a27c68927c15e236193 | [log] [tgz] |
---|---|---|
author | Aaron Green <aarongreen@google.com> | Tue Mar 19 15:04:13 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 19 15:04:13 2024 +0000 |
tree | 209b408c8bb064f66b293bcccf674b63892af6aa | |
parent | d2e8ec33012a8826532cb77c697ced0c32f4da7e [diff] |
pw_allocator: Add buffer utilities This CL extracts two common operations into their own functions: * GetAlignedSubspan * IsWithin These will be reused by additional allocators in subsequent CLs. Change-Id: Ie685e6bbb51ef883010f35a69e8a2f2f6b698df3 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/195353 Commit-Queue: Aaron Green <aarongreen@google.com> Reviewed-by: Taylor Cramer <cramertj@google.com>
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.
For more information please see our website: https://pigweed.dev/.