[PATCH] bsp/arm: allocate .rtemsstack on REGION_STACK instead of on REGION_WORK

Sebastian Huber sebastian.huber at embedded-brains.de
Mon May 23 06:37:35 UTC 2022


On 19/05/2022 09:03, Sebastian Huber wrote:
> On 19/05/2022 08:59, Karel Gardas wrote:
>> On 5/19/22 08:53, Sebastian Huber wrote:
>>> On 07/04/2022 21:15, Karel Gardas wrote:
>>>> REGION_WORK may be backed by external RAM which may not be initialized
>>>> in a time we need stack to work well. E.g. code loaded in flash,
>>>> stack allocated on in-cpu SRAM and data (REGION_WORK) on external 
>>>> SDRAM.
>>>>
>>>> Sponsored-By:    Precidata
>>>
>>> This change could have an impact if test programs can be linked or 
>>> not. We have to build all arm BSPs to check this.
>>
>> Thanks for looking into it! "We have to", that means who exactly? Does 
>> RTEMS do have CI in place to be able to check for that when committed? 
>> Or am I responsible for proving it? Or anybody else?
> 
> I will build the arm BSPs with your patch and see what happens to the 
> tests programs.

I didn't observe new linker errors in the tests, so I checked in the patch.

-- 
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 devel mailing list