Jump to main content

##

# 1.7 FreeRTOS Tickless Basic

This example application blinks an LED to show the FreeRTOS threads that are running and to indicate status in the FreeRTOS tickless idle mode.

## Description

This demonstration creates a task which toggle an LED for every 500 ms.

## Downloading and Building the Application

To clone or download this application from Github, go to the main page of this repository and then click Clone button to clone this repository or download as zip file. This content can also be downloaded using content manager by following these instructions.

Path of the application within the repository is apps/rtos/freertos/basic_freertos_tickless/firmware.

To build the application, refer to the following table and open the project using its IDE.

Project Name | Description
--- | ---
sam_d21_xpro.X | MPLABX project for SAM D21 Xplained Pro Evaluation Kit

## Setting Up the Hardware

The following table shows the target hardware for the application projects.

Project Name | Description
--- | ---
sam_d21_xpro.X | SAM D21 Xplained Pro Evaluation Kit

### Setting Up SAM D21 Xplained Pro Evaluation Kit

- Connect the Debug USB port on the board to the computer using a micro USB cable

## Running the Application

1. Build and program the application using the MPLAB X IDE
2. The LED indicates the success or failure.
   - The LED toggles on success i.e., for every 500 ms.

Refer to the following table for LED name:

Board | LED Name
--- | ---
SAM D21 Xplained Pro Evaluation Kit | LED0