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.

动态创建TASK问题

我使用动态方式创建uarttask,但是没成功。不知原因?

Task_Params_init(&uartTaskParams);
uartTaskParams.stackSize=uartTASK_STACKSIZE;
uartTaskParams.stack =&uartTaskStack;
uartTaskParams.instance->name = "uartTask";
uartTask =Task_create(uartFxn, &uartTaskParams, NULL);