Re: [PATCH v4 2/5] rtems: Add rtems_task_create_from_config()

2020-09-14 Thread Sebastian Huber
On 13/09/2020 23:17, Joel Sherrill wrote: On Sun, Sep 13, 2020 at 3:41 AM Sebastian Huber > wrote: On 12/09/2020 02:53, Chris Johns wrote: > On 12/9/20 1:34 am, Sebastian Huber wrote: >> + * @par Notes >> + * By default, the calcul

Re: [PATCH v4 2/5] rtems: Add rtems_task_create_from_config()

2020-09-13 Thread Chris Johns
On 14/9/20 7:17 am, Joel Sherrill wrote: > > > On Sun, Sep 13, 2020 at 3:41 AM Sebastian Huber > > > wrote: > > On 12/09/2020 02:53, Chris Johns wrote: > > > On 12/9/20 1:34 am, Sebastian Huber wrote: > >> + * @par Notes > >> + * By

Re: [PATCH v4 2/5] rtems: Add rtems_task_create_from_config()

2020-09-13 Thread Joel Sherrill
On Sun, Sep 13, 2020 at 3:41 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 12/09/2020 02:53, Chris Johns wrote: > > > On 12/9/20 1:34 am, Sebastian Huber wrote: > >> + * @par Notes > >> + * By default, the calculation for the required memory in the RTEMS > Workspace > >> + *

Re: [PATCH v4 2/5] rtems: Add rtems_task_create_from_config()

2020-09-13 Thread Sebastian Huber
On 12/09/2020 02:53, Chris Johns wrote: On 12/9/20 1:34 am, Sebastian Huber wrote: + * @par Notes + * By default, the calculation for the required memory in the RTEMS Workspace + * for tasks assumes that all Classic API Tasks are created by + * rtems_task_create(). This configuration option ca

Re: [PATCH v4 2/5] rtems: Add rtems_task_create_from_config()

2020-09-11 Thread Chris Johns
On 12/9/20 1:34 am, Sebastian Huber wrote: > + * @par Notes > + * By default, the calculation for the required memory in the RTEMS Workspace > + * for tasks assumes that all Classic API Tasks are created by > + * rtems_task_create(). This configuration option can be used to reduce the > + * requir

[PATCH v4 2/5] rtems: Add rtems_task_create_from_config()

2020-09-11 Thread Sebastian Huber
In contrast to rtems_task_create() this function creates a task with a user-provided task storage area. The new create function uses a configuration structure instead of individual parameters. Add RTEMS_TASK_STORAGE_ALIGNMENT to define the recommended alignment of a task storage area. Add RTEMS_