Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.
NOTE: FreeRTOS 202210.01 LTS libraries are now available in the FreeRTOS-LTS GitHub repository. See What’s New.

FreeRTOS LTS Libraries

Introduction

FreeRTOS long term support (LTS) releases receive security and critical bug fixes (should any be necessary) for at least two years following their release. That ongoing maintenance enables you to incorporate bug fixes throughout a development and deployment cycle without the costly disruption of updating to a new major version of FreeRTOS libraries. Long term support is provided courtesy of AWS for the benefit of the entire FreeRTOS community.

AWS also offers the FreeRTOS Extended Maintenance Plan (EMP) that provides you with security patches and critical bug fixes on your chosen FreeRTOS LTS version for up to an additional 10 years. Visit the EMP page on the AWS site for details.

FreeRTOS 202210.00 LTS covers the following libraries: FreeRTOS kernel, FreeRTOS-Plus-TCP, coreMQTT, coreHTTP, corePKCS11, coreJSON, coreSNTP, FreeRTOS-Cellular-Interface, AWS IoT Device Shadow, AWS IoT OTA, AWS IoT Jobs, AWS IoT Device Defender, AWS IoT Fleet Provisioning, and AWS IoT SigV4. Subsequent releases starting from the 202210.01 version will provide LTS patches for security and critical bug fixes.

Note:The downloads below contain source code for just the FreeRTOS Long Term Support (LTS) libraries, with no build projects or examples. The primary FreeRTOS download contains example projects. Refer to the FAQ for details.

Download the previous version: LTS 202012 Libraries


Upgrading to version 202210.xx of FreeRTOS LTS from the previous version

FreeRTOS 202210 LTS libraries are backward compatible with 202012.xx LTS, except for the coreMQTT and FreeRTOS-Plus-TCP libraries. For FreeRTOS-Plus-TCP, refer to these instructions on how to update your projects to use the new version. For coreMQTT, refer to these instructions.

To qualify your board, refer to the qualification guide and validate using the FreeRTOS Integration Tests version 202210.00.

FreeRTOS LTS libraries are also available from partner toolchains. See the blog post.


LTS Status

The following table lists the libraries that are part of FreeRTOS 202210 LTS. All meet the LTS modularity and Code Quality Checklist requirements other than the kernel and TCP stack, both of which still comply with their original quality requirements.

Last Updated: October 13, 2022
Library Version Maintained at least until
FreeRTOS Kernel 10.5.1 October 31, 2024
FreeRTOS-Plus-TCP 3.1.0 October 31, 2024
coreMQTT 2.1.1 October 31, 2024
coreHTTP 3.0.0 October 31, 2024
corePKCS11 3.5.0 October 31, 2024
coreJSON 3.2.0 October 31, 2024
coreSNTP 1.2.0 October 31, 2024
FreeRTOS-Cellular-Interface 1.3.0 October 31, 2024
backoffAlgorithm 1.3.0 October 31, 2024
AWS IoT Device Shadow 1.3.0 October 31, 2024
AWS IoT OTA 3.4.0 October 31, 2024
AWS IoT Jobs 1.3.0 October 31, 2024
AWS IoT Device Defender 1.3.0 October 31, 2024
AWS IoT Fleet Provisioning 1.1.0 October 31, 2024
AWS IoT SigV4 1.2.0 October 31, 2024

For information on library versions for the previous LTS version, see the FreeRTOS 202012-LTS repository on GitHub.


FreeRTOS LTS Patches

For the latest information, subscribe to GitHub Notifications by watching the FreeRTOS LTS repository.

Patch Version Updates Post
202210.01 LTS Includes critical fixes for the coreMQTT (V2.1.1) and FreeRTOS kernel (V10.5.1). Changelog
202012.05 LTS Includes critical fixes for the FreeRTOS kernel (10.4.3-LTS-Patch-3). Release notes
202012.05 LTS Includes security patches for the FreeRTOS kernel (10.4.3-LTS-Patch-3). Security Updates
202012.04 LTS Includes critical bug fixes for the FreeRTOS-Plus-TCP library (2.3.2-LTS-Patch-2). Release notes
202012.03 LTS Includes security patches for the FreeRTOS kernel (10.4.3-LTS-Patch-2). Security Updates
202012.02 LTS Includes security patches for the FreeRTOS kernel (10.4.3-LTS-Patch-1) and TCP libraries (V2.3.2-LTS-Patch-1). Security Updates
202012.01 LTS Added AWS IoT OTA, AWS Device Defender, and AWS IoT Jobs library to 202012.00 LTS Blog Post


LTS Code Quality Checklist

The table below documents the LTS release code quality requirements.

# Category Checks
1 Complexity Score Functions shall have a GNU Complexity score less than 8.
2 Coding Standard Functions shall comply with the MISRA 2012 coding standard.
3 Static Checking Functions shall pass Coverity static checking.
4 APSEC review and pentest Libraries must pass AWS security review.
5 Code Testing, including memory safety proofs All code shall have extensive unit and function tests, with Gcov reports detailing test coverage, as well as CBMC memory safety proofs.
6 Requirements Documentation All libraries shall have documented requirements, which may include resource, dependency, and porting requirements (as applicable).
7 Design Documentation All libraries shall have design documentation, including application and cloud interface, state machines, and synchronization (as applicable).
8 Compiler Warning The code shall compile with GCC using the -Wall and -Wextra command line options without generating compiler warnings.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.