Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Updated Jun 2025

FreeRTOS-Plus-CLI

An Extensible Command Line Interface Framework

Introduction

FreeRTOS-Plus-CLI (Command Line Interface) provides a simple, small, extensible and RAM efficient method of enabling your FreeRTOS application to process command line input. The steps required to add a command are shown in the clickable diagram below - click each stage in the process individually to be taken to a worked example.

Provide a function that implements the FreeRTOS-Plus-CLI command behviour FreeRTOS command line interpreter sequence separator Provide a const struct that maps the command to the function that implements the command FreeRTOS command line interpreter sequence separator Register the const struct with the FreeRTOS command interpreter FreeRTOS-Plus-CLI FreeRTOS command line interpreter sequence separator

Provide character input and output functions Adding a command to FreeRTOS-Plus-CLI. This diagram is clickable.

FreeRTOS-Plus-CLI is available in the following directory of the official FreeRTOS zip file download:

FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI
. Several example projects are also available on this website.

From FreeRTOS V10.0.0 FreeRTOS-Plus-CLI is provided under the same MIT license as the FreeRTOS kernel.