ThreadX is a real-time operating system (RTOS) designed specifically for deeply embedded applications. The author of this article is using a fork of the ST company's version, which has not improved significantly and still has many traps.
ThreadX consists of three components: ThreadX operating system kernel, Modules, and Trace debugging monitoring. In the ThreadX source code, these components are often mixed together. Therefore, this article will serve as a guide for porting and recording the kernel structure.
This article describes the composition of the ThreadX kernel, including the common, common_module, and common_smp versions. The article also explains the purpose of each component and provides a guide for porting the kernel, including the preparation of the necessary source code and the creation of a user interface function.
The article also discusses the differences between the pure kernel and the kernel with a module manager, and provides a guide for porting the kernel with a module manager. The article concludes with a summary of the key points and a final thought.
This article is a valuable resource for embedded system developers who want to learn about the ThreadX RTOS and how to port it to their specific hardware platform.
In detail contents:
I. Introduction to ThreadX RTOS
A. Overview of ThreadX RTOS
B. History of ThreadX RTOS
C. Features of ThreadX RTOS
II. Porting Guide
A. Preparing the Necessary Source Code
B. Creating a User Interface Function
C. Porting the Kernel with a Module Manager
III. Kernel with a Module Manager
A. Overview of the Kernel with a Module Manager
B. Differences between the Pure Kernel and the Kernel with a Module Manager
C. Porting Guide for the Kernel with a Module Manager
IV. Conclusion
A. Summary of Key Points
B. Final Thought