AnsweredAssumed Answered

How to set the priorities to task in STM32F767ZI using FreeRTOS

Question asked by Chintan Sharma on Dec 8, 2017

I am using the STM32F767ZI for FreeRTOS project. I am giving the different priorities to two different tasks but it does not give the effect in the output.



/* definition and creation of Task1 */

osThreadDef(Task1, StartTask1, osPriorityHigh, 0, 128);

Task1Handle = osThreadCreate(osThread(Task1), NULL);

/* definition and creation of Task2 */
osThreadDef(Task2, StartTask2, osPriorityNormal, 0, 128);
Task2Handle = osThreadCreate(osThread(Task2), NULL);