cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the priorities to task in STM32F767ZI using FreeRTOS

Chintan Sharma
Associate
Posted on December 08, 2017 at 12:04

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);
0 REPLIES 0