Tool/software: TI-RTOS
Hi all,
Q:when we creat a new task,How to determine the stack size and priority of a task?
Thanks in advance.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI-RTOS
Hi all,
Q:when we creat a new task,How to determine the stack size and priority of a task?
Thanks in advance.
Hi NanSHan,
You can set task size during task creation by stackSize parameter. See the example below:
var tskParams = new Task.Params; tskParams.stackSize = 512; var task0 = Task.create('&task0Fxn', tskParams);
Task priority can be set using Task_setPri command.
For more details refer to:
www.ti.com/.../spruex3q.pdf
BR
Tsvetolin Shulev
Hi ToddMullanix,
Thanks for your replies!
But the page:training.ti.com/debugging-common-application-issues-ti-rtos.can not be open.
best regards!