pw_allocator_zephyr: Fix Zephyr build dependencies and avoid libc malloc/free - Add order-only dependencies on zephyr_generated_headers to prevent build races when compiling Zephyr allocator targets. - Delete operator new and provide class-specific operator delete on SynchronizedHeapAllocator and SystemHeapAllocator to satisfy the virtual deleting destructor vtable slot without pulling in libstdc++'s default free() and sbrk on bare-metal targets without libc malloc. TAG=agy CONV=73df1d8f-4219-4d2f-af00-9b9f8d4823ed Change-Id: I6ab857e0954582de3ddd712351c2765538d45edb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/480066
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/.