<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 15, 2020 at 4:36 PM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2020-02-15 03:02, Sebastian Huber wrote:<br>
> Move the idle thread body configuration constant out of the<br>
> configuration table.<br>
> <br>
> Provide a default definition of the idle thread body constant.<br>
<br>
May be I am missing something simple here. How would I provide an custom <br>
IDLE task? Is it by providing something like ...<br>
<br>
#include <rtems/score/threadidledata.h><br>
<br>
const Thread_Idle_body _Thread_Idle_body = My_Idle_body;<br>
<br></blockquote><div><br></div><div>I think you do it by a configure macro that confdefs picks up by this line added:</div><div>+const Thread_Idle_body _Thread_Idle_body = CONFIGURE_IDLE_TASK_BODY;</div><div><br></div><div>It needs some doco ;)</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Chris<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div>