Statically allocated build

Петр Борисенко peter at awsmtek.com
Tue Sep 28 11:56:01 UTC 2021


Oh, I got it. Does FS enabled by default and I am supposed to disable it
during the build process?

On Tue, Sep 28, 2021, 2:52 PM Петр Борисенко <peter at awsmtek.com> wrote:

> No. there is no filesystem.
> The application is build upon the stm32f4 bsp, and linker script's kept
> unchanged.
>
>
> On Tue, Sep 28, 2021, 8:28 AM Sebastian Huber <
> sebastian.huber at embedded-brains.de> wrote:
>
>> Hello,
>>
>> On 24/09/2021 20:08, Петр Борисенко wrote:
>> >   Hello everyone!
>> > I am currently creating a aerial robot application upon the arm/stm32f4
>> bsp
>> > (extending it, possibly will contribute soon)
>> > I have just moved from RTEMS5 to RTEMS6 and have a few questions.
>> > 1. I don't understand how to build a system fully statically allocated.
>> For
>> > safety reasons I shouldn't use neither heap for the system objects nor
>> > dynamic loading.
>>
>> if you don't use the unlimited objects option, then the Classic API
>> objects are statically allocated in RTEMS 6. You can construct tasks and
>> message queues with user-provided storage:
>>
>>
>> https://docs.rtems.org/branches/master/c-user/task/directives.html#rtems-task-construct
>>
>>
>> https://docs.rtems.org/branches/master/c-user/message/directives.html#rtems-message-queue-construct
>>
>> The POSIX and C++ synchronization objects use user-provided storage.
>>
>> > 2. I have just noticed that `__usrenv.c` has been compiled into my
>> > application. I don't understand how to disable it.
>>
>> I would look at the linker map file. You probably use a file system.
>>
>> --
>> embedded brains GmbH
>> Herr Sebastian HUBER
>> Dornierstr. 4
>> 82178 Puchheim
>> Germany
>> email: sebastian.huber at embedded-brains.de
>> phone: +49-89-18 94 741 - 16
>> fax:   +49-89-18 94 741 - 08
>>
>> Registergericht: Amtsgericht München
>> Registernummer: HRB 157899
>> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
>> Unsere Datenschutzerklärung finden Sie hier:
>> https://embedded-brains.de/datenschutzerklaerung/
>>
>


More information about the users mailing list