Actions

EmSys

Getting Started with FreeRTOS

From EdWiki

An Introduction to FreeRTOS

FreeRTOS is a real-time kernel (or real-time scheduler) targeting at hard real-time applications. There’s more ...

Task Management

Tasks in FreeRTOS. There’s more ...

  • Blinky Project
    FreeRTOS Blinky Project on EK-TM4C123GXL LaunchPad Board. How to do it ...
  • 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 ...

Queue management

Characteristics of a Queue. There’s more ...

Task Notifications

Applications that use FreeRTOS are structured as a set of independent tasks, There’s more ...

Interrupt management

An interrupt service routine is a hardware feature There’s more ...

  • Exercises on Interrupt Management
    1. Deferred Interrupt Processing
      Create Task 1 as a continuous processing task, How to do it ...
    2. Deferred Interrupt Processing Using Binary Semaphore
      Create Task 1 as a continuous processing task, and Task 2 (interrupt handler task) as the task to which interrupt processing is deferred. How to do it ...
    3. Deferred Interrupt Processing Using Counting Semaphore
      Initialize Timer3A to capture rising edges in edge-count mode. How to do it ...
    4. Implement a STOP watch
      Implement a STOP watch in three tasks as follows: How to do it ...

Resource management

Resources that are shared between tasks or between tasks and interrupts needs to be managed using a ‘mutual exclusion’ technique to ensure data consistency. There’s more ...

  • Exercises on Resource Management
    1. Write FreeRTOS aware UART Driver Library
      The outline of the driver is as follows : How to do it ...

Memory management

There’s more ...


References