Found in the debugging process of each task is only a print, and the program ran to the FreeRTOS tasks. In the portTASK_FUNCTION function in c card in a for loop can not meet the conditions of call taskYIELD (),
Have met the man who is the same problem, provide a train of thought, thank you!
CodePudding user response:
Wrong, it should be said to create two tasks are carried out only once,CodePudding user response:
The same printf interface, how do you ensure the task a call, task 2 has no call it? Want to have a semaphore