How to set the priorities to task in STM32F767ZI using FreeRTOS
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-12-08 3:04 AM
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);
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
