On Wed, Oct 6, 2021 at 12:19 AM Sebastian Huber
wrote:
>
> [..]
> > +
> > +/*
> > + * If the application wants to provide an IDLE threads stack allocator, it
> > + * must also provide a custom allocator/deallocator for user thread stacks.
> > + */
> > +#elif (!defined(CONFIGURE_TASK_STACK_ALLOCATO
[..]
+
+/*
+ * If the application wants to provide an IDLE threads stack allocator, it
+ * must also provide a custom allocator/deallocator for user thread stacks.
+ */
+#elif (!defined(CONFIGURE_TASK_STACK_ALLOCATOR) \
+ && !defined(CONFIGURE_TASK_STACK_DEALLOCATOR)) \
+ && defined(CONFIGURE_T
Add a stack allocator hook specifically for allocation of IDLE thread stacks.
This allows the user to decide if IDLE thread stacks are statically allocated
or handled by the same custom allocator mechanism as other thread stacks.
Closes #4520.
---
cpukit/Makefile.am|