when I have the code Main of simulation software studio 4. Exact in this line 'ret_val = xTaskCreate (vMMI_Menu, “MMI_Menu”, configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY+1, NULL) ‘’ call this instead of calling the function ‘‘signed portBASE_TYPE xTaskCreate( pdTASK_CODE pvTaskCode, const signed portCHAR * const pcName, unsigned portSHORT usStackDepth, void *pvParameters, unsigned portBASE_TYPE uxPriority, xTaskHandle *pxCreatedTask )’’. I am tried to find the function ‘‘vMMI_Menu’’ but i dont have it in my code .why the simulation he desen’t give me error or why he go in the ander function.
I think you are saying that you are using xTaskCreate() to create a task that is defined by the function vMMI_Menu - but vMMI_Menu does not appear anywhere in your project so you don’t understand how it can link.
I would agree with you, if vMMI_Menu does not exist then the code cannot link. Maybe it isn’t linking? Or maybe vMMI_Menu is #defined to something else? In any case I have looked through the FreeRTOS code and cannot see that the name vMMI_Menu appears anywhere so I’m guessing it is a function you have defined yourself.