Quality RTOS & Embedded Software

Featured FreeRTOS IoT Integrations:
Extended Maintenance Plan (EMP):
Delta Over-the-Air Updates:
December 2021 Releases:
FreeRTOS LTS libraries:

An Extensible Command Line Interface Framework


FreeRTOS+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+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+CLI
FreeRTOS command line interpreter sequence separator
Provide character input and output functions
Adding a command to FreeRTOS+CLI. This diagram is clickable.

FreeRTOS+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+CLI is provided under the same MIT license as the FreeRTOS kernel.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.