i use the board frdm-kw36z i find the freertos file fsl_os_abstraction_free_rtos.c this is the main function entrance as belows excerpt
int main (void)
/* Initialize MCU clock */
if i want to create another self define task how to add and make it works ,do i need to write a similary function
and give some definition like this
#define gMainThreadStackSize_c 1024
#define gMainThreadPriority_c 7
than write a thread func in the realization of my_task. is it that right ,or some one give tips or demo on how to add a self define task.. thanks a lot!
xTaskCreate is an API to create a new task and add it to the list of tasks that are ready to run.
Please refer to below link and hello world demo for more details
OSA_TaskCreate is a wrapper, it is also right to create a new task.