commit | 571523313de9a410e11eb244a3fd479b345bc28c | [log] [tgz] |
---|---|---|
author | aarongreen <aarongreen@google.com> | Mon Sep 25 14:10:13 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 25 14:10:13 2023 +0000 |
tree | 3446b8a6e421d71f8134f8a4f528ddb58266b925 | |
parent | b9656ecb22eabf492d9368f7dc234ed4094f7f08 [diff] |
pw_allocator: Add NullAllocator This CL adds NullAllocator, a memory allocator which always fails. This can be used as part of a larger memory framework to disallow memory allocations under specific circumstances. Change-Id: I2b005660f611afc975f98097b88f1fe0c4b1af27 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/172233 Reviewed-by: Taylor Cramer <cramertj@google.com> Commit-Queue: Aaron Green <aarongreen@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/.