I want to use MQX in round robin tasks.
When I use Processor Expert PE to generate the MQX tasks using the OS_Task component,
the PE overwrites the MQX_TIME_SLICE_TASK attribute and the tasks time slice value.
Is there any way to make PE set these values so every time I run the PE I don't need to manually go and type in these values?
Hi Matthew,
I do not see a way to set up the TIMESLICE within PE.
If you have multiple tasks with the same priority level, then they are going to round robin. You just need to make sure there is some code in each task that will block it (ex: OSA_TimeDelay) so the other task will get a chance to run.
Regards,
David
OK,
will have a look at the non time sliced same priority method.
I just assumed that PE would have some method of enabling time slicing using the MQX_TIME_SLICE_TASK parameter without destroying the manually edited values each time...