FreeRTOS / Lab-Project-FreeRTOS-POSIX

This repository contains FreeRTOS+POSIX source code, which could be consumed as a submodule.
MIT License
95 stars 60 forks source link

Dynamic Allocation Implementation #1

Closed nslowell closed 3 years ago

nslowell commented 4 years ago

Could the posix implementation be used with only DYNAMIC allocation (STATIC allocation disabled)? Is there something that prevents this?

RichardBarry commented 4 years ago

Not currently. We aim to ensure libraries can be used in projects that do not permit dynamic allocation. Whereas the kernel enables you turn turn static and dynamic allocation off individually, the posix library only uses static on the assumption that is suitable whether dynamic is permitted or not.