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.

CC3235SF: How to use API functions provided by FREERTOS in official routines?

Part Number: CC3235SF


Hi,

I created a task as a routine, but when I want to use the API functions in FREERTOS, their parameters need the task handle returned when creating the task, but the routine created the task and did not return the relevant task handle. What should I do? Please tell me the solution.

For example, the first parameter of the following API function, how should the task handle be passed?

 void vTaskNotifyGiveFromISR( TaskHandle_t xTaskToNotify,
                              BaseType_t *pxHigherPriorityTaskWoken );