Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
FreeRTOS Real Time Kernel example

Purpose

The FreeRTOS example will help users how to use FreeRTOS in SAM boards. This basic application shows how to create task and get information of created task.

Requirements

This package can be used with SAM boards.

Description

The demonstration program create two task, one is make LED on the board blink at a fixed rate, and another is monitor status of task.

Usage

  1. Build the program and download it inside the evaluation board. Please refer to the SAM-BA User Guide, the GNU-Based Software Development application note or to the IAR EWARM User Guide, depending on your chosen solution.
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 bauds
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Start the application.
  4. LED should start blinking on the board. In the terminal window, the following text should appear (values depend on the board and chip used):
    -- Freertos Example xxx --
    -- xxxxxx-xx
    -- Compiled: xxx xx xxxx xx:xx:xx --