What is FreeRTOS?
FreeRTOS is the world’s most widely deployed real-time operating system for microcontrollers. Originally developed as a kernel for real-time task scheduling, AWS has extended FreeRTOS with a comprehensive ecosystem for IoT connectivity: secure TLS connections, MQTT client, HTTP client, OTA update mechanisms, and more.
The operating system runs on microcontrollers with minimal resources: from 10 KB RAM and a few KB of flash storage. Real-time capability guarantees deterministic response times, qualifying FreeRTOS for time-critical applications.
AWS offers pre-configured FreeRTOS packages for hundreds of development boards. Integration with IoT Core, Device Shadow, and OTA updates makes FreeRTOS the standard platform for MCU-based IoT devices in the AWS cloud.
Core Features
- RTOS Kernel: Deterministic task scheduling with priorities
- coreMQTT: Lightweight MQTT client for cloud communication
- TLS Library: Secure connections with mbedTLS or wolfSSL
- OTA Updates: Over-the-air firmware updates for devices in the field
- Device Shadow: Offline-capable state synchronization with the cloud
- Portability: Support for ARM Cortex-M, RISC-V, Xtensa, and more
Common Use Cases
Sensor Nodes: Battery-powered sensors capture environmental data and transmit it via MQTT to IoT Core. FreeRTOS optimizes power consumption through sleep modes between measurement intervals.
Industrial Controllers: Real-time control tasks (motor control, control loops) are executed locally on the microcontroller. In parallel, FreeRTOS sends operational data to the cloud for monitoring and predictive maintenance.
Consumer IoT: Smart devices like thermostats, locks, or lighting systems use FreeRTOS for the combination of local control and cloud connectivity.
Benefits
- Open source under MIT license, no licensing costs
- Runs on microcontrollers with minimal resources
- Deterministic real-time capability
- Broad hardware support across hundreds of MCU families
- Native AWS IoT integration
Integration with innFactory
As an AWS reseller, innFactory supports you with FreeRTOS: porting to your hardware, implementing secure cloud connectivity, OTA update infrastructure, and integration with AWS IoT Core for production-ready IoT devices.
Typical Use Cases
Frequently Asked Questions
What is FreeRTOS?
FreeRTOS is an open-source real-time operating system (RTOS) for microcontrollers. AWS maintains and extends FreeRTOS with libraries for secure cloud connectivity: TLS, MQTT, HTTP, OTA updates, and more. FreeRTOS runs on ARM Cortex-M, RISC-V, and other MCU architectures.
How does FreeRTOS differ from Linux-based systems?
FreeRTOS is optimized for microcontrollers with limited resources: from 10 KB RAM. Linux requires at least 32 MB RAM and a powerful processor. FreeRTOS provides deterministic real-time capability, while Linux is a general-purpose operating system. For simple sensors and actuators, FreeRTOS is the right choice.
Is FreeRTOS really free?
Yes, FreeRTOS is licensed under the MIT license and is completely free, including for commercial use. AWS provides the kernel, libraries, and reference implementations at no cost. Only the usual AWS charges apply when devices communicate with IoT Core.