Real-Time Operating System (FreeRTOS)¶
1. Overview¶
FreeRTOS is a popular open-source, free real-time operating system and is used as the default OS in the CI13XX series SDK. It features a lightweight and stable kernel with rich APIs and broad adoption. The CI13XX series integrates the latest FreeRTOS V10, which adds new components such as message queues and stream buffers compared to V8.
Tip
For more information, visit the ☞FreeRTOS official site.
2. Usage¶
When using FreeRTOS API functions, include FreeRTOS.h and the relevant module headers. In the CI13XX series SDK, add the top-level include path as shown below:
#include "FreeRTOS.h"
#include "task.h"
The FreeRTOSConfig.h file contains kernel configuration options. The following notes focus on items commonly adjusted during development: