Updated Apr 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.