# atomthreads **Repository Path**: yifengling0/atomthreads ## Basic Information - **Project Name**: atomthreads - **Description**: Lightweight, Portable RTOS Scheduler 基于atomthreads RTOS 提供驱动,组件和软件包框架 - **Primary Language**: C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 3 - **Created**: 2022-04-16 - **Last Updated**: 2025-05-20 ## Categories & Tags **Categories**: hardware **Tags**: None ## README ## 基于atomthreads RTOS 提供驱动,组件和软件包框架 主要应用于内存小于8K,flash小于64k的芯片,方便小资源芯片的开发和调试, 通过内核的定制可以减少资源使用, 1K ram和8k rom情况下,可以运行2个task,不使用动态内存,尽量减少c库的依赖。 * **实现了如下组件** * 简易shell * debug命令 * 带颜色的syslog * 内核assert * **实现通用驱动模型** * uart * spi(包含io虚拟spi) * wdt * rtc * pin * I2C * PWM * ADC * **BSP已经对应芯片列表** * stm8s103 * stm8lx51 * stm32l032 * upboard (x86 ubuntu内核模拟) * esp32 (posix,freertos模拟) * **内核扩展** * 增加idle hook * 内核调试命令行(ps) * event实现 * tickless支持 * **TODO:** * PM (低功耗框架) ## 原有RTOS的介绍参考下面的原有说明 --------------------------------------------------------------------------- * Library: Atomthreads * Author: Kelvin Lawson * Website: http://atomthreads.com * License: BSD Revised --------------------------------------------------------------------------- Atomthreads is a free RTOS for embedded systems, released under the flexible, open source BSD license and is free to use for commercial or educational purposes without restriction. It is targeted at systems that need only a lightweight scheduler and the usual RTOS primitives. No file system, IP stack or device drivers are included, but developers can bolt on their own as required. Atomthreads will always be a small number of C files which are easy to port to any platforms that require threading by adding a simple architecture-specific file. --------------------------------------------------------------------------- DOCUMENTATION: All documentation is contained within the source files, commented using Doxygen markup. Pre-generated documentation can be accessed at http://atomthreads.com. See also the README file contained within each folder of the source tree. --------------------------------------------------------------------------- GETTING STARTED: Building of the sources is carried out from the ports tree. For example to make a software build for the AVR architecture see ports/avr/README. --------------------------------------------------------------------------- SOURCE TREE: * kernel: Core kernel sources * tests: Automated test suite * ports: CPU architecture ports --------------------------------------------------------------------------- AUTOMATED TESTS STATE: * Continuous Integration hosted at travis-ci.org: [![Build Status](https://travis-ci.org/kelvinlawson/atomthreads.svg?branch=master)](https://travis-ci.org/kelvinlawson/atomthreads)