2017-12-08 03:11 AM
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);I am using FreeRTOS in STM32F767ZI and trying to set the different priorities to two different tasks but it does not affect the output. So, can anyone help me out?
2017-12-08 07:26 AM
Hello,
Have a look to the
User manual Developing Applications on STM32Cube with RTOS, it will help you on how to set priorities in FreeRTOS.You may have a look to the FreeRTOS example within STM32CubeF7.
Best Regards
Imen
2017-12-10 08:57 PM
Thanks for your response. But still, it won't help me out. So, can you help
me out?
On Fri, Dec 8, 2017 at 8:57 PM, Imen D <st-microelectronics@jiveon.com>