RT-Thread 3.0.0 Real-Time Operating System Programming Guide

Programming manual for the RT-Thread real-time operating system covering threads, timers, synchronization, memory, I/O devices and interrupts.


RT-Thread 3.0.0 Real-Time Operating System Programming Guide - cover page
Brand
RT-Thread
Category
Other software
Document type
Programming Manual
Language
Chinese
Pages
417
File format
PDF
File size
2.6 MB
Published
10 November, 2026
Updated
10 November, 2026
MD5 checksum
188FD5FB196DCBEEA20589E9FB0CFA03

About this manual

This book is the RT-Thread programming manual, written to guide programming in the RT-Thread real-time operating system environment. The PDF version is generated automatically from the latest committed content on github.com, and page footers show RT-Thread 3.0.0. The front matter records the revision history, including a 2013/5/14 change by Bernard that added table-related content and API description examples.

The guide starts with the RT-Thread software structure and development/maintenance notes, then works through thread scheduling and management (scheduler, thread control block, thread states, idle thread, thread APIs, thread design), timers, synchronization and communication between tasks (disabling interrupts, scheduler lock, semaphores, mutexes, events, mailboxes, message queues), memory management (static memory pool and dynamic memory with small-memory and SLAB modules), I/O device management (block devices, device control block, device management interfaces, device drivers including an STM32F10x serial driver and a finsh UART analysis), and exceptions and interrupts. An appendix explains the code contribution workflow: fork the rt-thread repository, clone it locally, create a branch, develop and commit, push to the remote repository and open a pull request. This manual is written in Chinese.

What's inside

  • Introduction to the RT-Thread software structure
  • Thread scheduling and management
  • Timers
  • Synchronization and communication between tasks
  • Memory management
  • I/O device management
  • Exceptions and interrupts
  • Device drivers and STM32F10x serial driver
  • Code contribution workflow with git (fork, clone, commit, pull request)

Specifications

RT-Thread version shown in documentRT-Thread 3.0.0

Frequently asked questions

What is this document?

It is the RT-Thread programming manual, used to guide how to program in the RT-Thread real-time operating system environment.

What topics does the RT-Thread Programming Guide cover?

It covers the software structure, thread scheduling and management, timers, synchronization and communication between tasks, memory management, I/O device management, and exceptions and interrupts.

How is this PDF version produced?

It is the PDF version of the RT-Thread programming guide, generated automatically from the latest committed content on github.com.

How do I contribute code to RT-Thread according to the appendix?

Fork the rt-thread repository to your own git repository, clone it to your local PC, create a local branch, commit your changes, push to your remote repository and create a pull request.

Download PDF (2.6 MB)

More RT-Thread Manuals


View all RT-Thread manuals →