CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - Critical Section
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - Critical Section - List
[
SCM
]
Hydrogen_Core51
DL : 0
Hydrogen/C51 是一个用于51的非占先操作系统 基本上用纯 C 实现, 嵌入了大概10行的汇编 基本需求: 1.最小编译代码大概在 2.4k 2.需要使用片外的 xdata 作为堆使用 3.占用 TIMER0 作为计时 使用基本要求: 1.任务中必需要存在 Sleep/WaitFor 函数才能主动放弃占用CPU 2.任务入口和使用到Sleep/WaitFor的函数必需是 reentrant. 内核功能: 1.动态建立任务 2.支持事件/阻塞/信号量,临界 3.全双工串口(中断实现), IO过程中不会阻塞其它任务 4.UNIX c 风格的读写流(read/write) 5.一个简单的基于 24C 的文件系统(不支持目录) -Hydrogen/Core51 is a Keil C51 None-Preemptive OS. CORE written by Pure C (well..almost Pure, has 10 lines inline ASM). CORE minimal resource **Size about 2.3~5K ROM, 20+ Byte RAM. it is depends modules your chosen. **CORE also TAKE TIMER0 to tick for real-timing, and need xdata for HEAP CORE Support **dynamic Create/Terminate Thread(TASK) **Synchronize Object (Event/Semaphore/Critical Section), Thread(TASK) Naturally GIVES UP CPU by WaitFor these Synchronize Object **Common IO, it is STD C open/read/write in Any Stream Like IO(I2C, UART etc.) I host this project for OS studying, and Also Used in my work. SRC can be download from SVN Repository
Date
: 2025-12-19
Size
: 3.12mb
User
:
binary
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.