Select Page

Getting Started with FreeRTOS

Exercises on Task Management

    1. Create two tasks with equal priorities. When run the tasks will display the strings “Task 1 is Running …” and “Task 2 is Running …” accordingly. How to do it …
    2. Using the task parameter
      The two tasks created in previous example are almost identical, How to do it …
    3. Periodic Task
      Create two tasks at priority 1. These should do nothing other than continuously print out a string. How to do it …
    4. The Idle Task and the Idle Task Hook
      The tasks created in the previous example spend most of their time in the Blocked state. How to do it …
    5. Changing task priorities
      Demonstrate the scheduler always selects the highest Ready state task to run. How to do it …