1)
Look at MQX_template_list[]:
const TASK_TEMPLATE_STRUCT MQX_template_list[] =
{
/* Task Index, Function, Stack, Priority, Name, Attributes, Param, Time Slice */
{ HELLO_TASK, hello_task, 1500, 8, "hello", MQX_AUTO_START_TASK, 0, 0 },
{ 0 }
};
Here you see task priority 8. Lower priorities (0..7) are used for interrupts. Please do not use lower priorities for tasks.
In fact, you can create and destroy tasks dynamically, however do not forget that you can create only task with priority which is the same or lower than maximum priority used in MQX_template_list[].
2)
For now I suppose that you use CodeWarrior. Here is answer:
https://community.freescale.com/message/382132#382132
3)
Manually.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------