Static allocation

Петр Борисенко peter at awsmtek.com
Tue Sep 28 15:06:03 UTC 2021


Seems pretty obvious, but I mean kernel. When I define a queue or a task,
will it compile statically or it will get memory from heap during the
initialization? @Sebastian Huber <sebastian.huber at embedded-brains.de> mentioned
that it depends on using of UNLIMITED_OBJECTS configuration option.

On Tue, Sep 28, 2021, 5:26 PM Joel Sherrill <joel at rtems.org> wrote:

>
>
> On Tue, Sep 28, 2021, 6:43 AM Петр Борисенко <peter at awsmtek.com> wrote:
>
>> Hello!
>> Is it possible to compile Rtems statically and disable memory allocation
>> routines and heap?
>>
>
> No. You have to restrict your application use of APIs and services to
> those which do not use dynamic allocation.
>
> --joel
>
>> _______________________________________________
>> users mailing list
>> users at rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>>
>


More information about the users mailing list