We have developed a real-time operating system (RTOS) in this thesis. It is designed for applications that require multiple separate tasks and real-time responsiveness to events. First, we read and reviewed the literature and selected suitable algorithms and data structures to be implemented in the kernel of the operating system. To achieve fast responsiveness, we used task prioritization in our kernel. To facilitate and speed up software development, we have designed an Application Programming Interface (API) that allows users to access the kernel and its functionalities more easily. The advantages of our RTOS are short source code, ease of use, and low memory footprint. During the development process, the RTOS was continuously tested and debugged. In addition, all important parts were debugged in the microcontroller of the development system to confirm correct operation. We also wrote a simple test program with four tasks to demonstrate the RTOS and the use of the API.
|