[PATCH 2/3] score: Add CONFIGURE_INIT_TASK_STORAGE_SIZE
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Nov 20 16:42:45 UTC 2020
On 20/11/2020 17:35, Gedare Bloom wrote:
>> +#else /* CONFIGURE_INIT_TASK_STORAGE_SIZE */
>> +
>> +#ifndef CONFIGURE_INIT_TASK_STACK_SIZE
>> + #define CONFIGURE_INIT_TASK_STACK_SIZE CONFIGURE_MINIMUM_TASK_STACK_SIZE
>> +#endif
>> +
>> +#if CONFIGURE_INIT_TASK_STACK_SIZE > CONFIGURE_MINIMUM_TASK_STACK_SIZE
>> + #define _CONFIGURE_INIT_TASK_STACK_EXTRA \
>> + ( CONFIGURE_INIT_TASK_STACK_SIZE - CONFIGURE_MINIMUM_TASK_STACK_SIZE )
> In some other places, we emit #error instead of fixing the user's
> misconfiguration. Does it make sense to do that here also?
>
> I think the idea is that it is better to make the user do it right
> than for us to hide the fix.
There is no configuration error here. If CONFIGURE_INIT_TASK_STACK_SIZE
is greater than CONFIGURE_MINIMUM_TASK_STACK_SIZE, then this extra stack
size is automatically added to the stack size estimate.
--
embedded brains GmbH
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
PGP: Public key available on request.
embedded brains GmbH
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