blob: 1f35a12428778345b0e37771e79e204d0e980aef [file] [log] [blame]
.. _module-pw_malloc_freertos:
------------------
pw_malloc_freertos
------------------
``pw_malloc_freertos`` implements the ``pw_malloc`` facade using the FreeRTOS
heap functions.
- It implements an :ref:`module-pw_allocator-api-allocator` using the
``pvPortMalloc`` and ``vPortFree`` heap functions from
`FreeRTOS <https://www.freertos.org/a00111.html>`_.
- It implements a :ref:`module-pw_malloc` backend using its ``Allocator``.
- The ``pw::malloc::InitSystemAllocator`` method is trivally empty as FreeRTOS
defines its own heap variable storage.