RT-Thread is an open source real-time operating system for IoT and embedded systems that runs on microcontrollers and microprocessors across multiple architectures.
RT-Thread addresses the need for a lightweight yet feature-rich RTOS that can scale from severely resource-constrained microcontrollers to more capable IoT devices. The kernel implements standard real-time primitives including multi-threaded scheduling, semaphores, mailboxes, message queues, memory management, and timers. The system applies object-oriented design principles to achieve modular, structured code that is straightforward to port across mainstream MCU families. Two variants serve different use cases: a Nano version requiring only 3KB Flash and 1.2KB RAM for minimal systems, and a full version supporting rich components and software packages for more capable devices.
Developers should choose this tool if they need an RTOS for ARM Cortex-M or Cortex-A processors, MIPS, or RISC-V architectures. It suits projects ranging from simple microcontroller applications to complex IoT systems requiring graphical interfaces, touch interaction, or voice capabilities. The ecosystem includes over 450 software packages available through an online package management system, allowing rapid composition of functionality without building from scratch. The modular component architecture—including virtual file systems, command-line interfaces, network frameworks, and device frameworks—enables developers to tailor the system precisely to their application needs.
The project maintains active development across its core kernel and component layers, with ongoing work to expand hardware support and the software package ecosystem. The codebase demonstrates consistent refinement of the architecture to balance the competing demands of minimal resource footprint and rich functionality. Community contributions flow into both the kernel and the package platform, sustaining the breadth of the ecosystem that differentiates adoption choices in the RTOS space.