PitchHut logo
SKRTOS_sparrow
A modular RTOS microkernel designed for embedded systems and education.
Pitch

SKRTOS_sparrow is a modular real-time operating system microkernel aimed at embedded systems, educational purposes, and research in architecture. It offers various versions for different application needs and includes tutorials in both Chinese and English, making it a valuable resource for developers and learners alike.

Description

SKRTOS_sparrow is a modular Real-Time Operating System (RTOS) microkernel designed specifically for embedded systems, educational purposes, and architectural research. This project provides essential resources, tutorials, and a flexible architecture that enhances the development of embedded applications.

Key Features

  • Modular Architecture: The kernel's design supports various architectures through the arch directory, making it adaptable to different hardware configurations.
  • Diverse Board Support: The boards directory includes projects that transplant the kernel onto various development boards, facilitating easy integration into existing setups.
  • Comprehensive Documentation: The docs folder offers extensive resources, including kernel design details and source code to streamline understanding and implementation.
  • Versatile Library: A dedicated lib directory contains a library of data structures and algorithms for efficient program development.
  • Networking Support: The net section implements the TCP/IP protocol, enabling robust communication features in applications.
  • File System Implementation: The kernel includes a basic file system within the FileSystm directory, ensuring foundational file management capabilities.

Tutorial Availability

To assist developers and learners in writing a microkernel, SKRTOS_sparrow offers tutorials available in both Chinese and English.

Kernel Versions

The SKRTOS_sparrow kernel has four distinct versions catering to different needs:

  1. Table Version: Supports fewer than 32 tasks with no shared priorities—ideal for resource-limited conditions.
  2. Linked List Version: Allows an unlimited number of tasks, with a modifiable interface based on the Table version.
  3. Red-Black Tree Version: Supports tasks with the same priority but lacks time slice functionality, similar to the Linked List version.
  4. Response EDF Version: Enhances traditional EDF algorithms, tailored for scenarios requiring predictability and periodicity, while supporting the ARM Cortex A7 architecture.

Application Scope

  • Table Version: Suitable for educational only scenarios with limited resources.
  • Linked List Version: Versatile and ideal for a wide range of applications.
  • Red-Black Tree Version: Designed for high-concurrency scenarios where frequent task searches, inserts, and deletes are required.
  • Response EDF Version: Focused on periodic and predictable task scheduling, currently in experimental phases.

Optimization Goals per Version

  • Table Version: Streamlined for efficiency using extensive bit operations and optimized code.
  • Linked List Version: General purpose optimization.
  • Red-Black Tree Version: Emphasizes high concurrency with robust locking mechanisms.
  • Response EDF Version: Aims to enhance periodicity and predictability in scheduling algorithms as functionality develops.

Documentation Structure

The documentation is meticulously organized:

  • Kernel Design Instructions
  • Arithmetic and Program Optimization Insights
  • Code Design Styles and Programming Concepts
  • Kernel Implementation Details
  • Network Protocol Implementations

Explore SKRTOS_sparrow to accelerate embedded system development with a modular RTOS that supports both learning and practical application in real-time environments.

0 comments

No comments yet.

Sign in to be the first to comment.