pw_allocator_zephyr#

Stable

pw_allocator_zephyr implements the pw_allocator interface for the Zephyr RTOS kernel heapsm using the Zephyr API.

SynchronizedHeapAllocator#

Wraps a specific Zephyr kernel k_heap to provide allocations from it.

SystemHeapAllocator#

Wraps the Zephyr shared system heap API to provide allocations from it.

Using this require configuring the global heap size using CONFIG_HEAP_MEM_POOL_SIZE=<size> in your Zephyr kernel configuration.