Feature | µC/OS-II | µC/OS-III |
---|---|---|
Release Date(发布时间) | 1999–present | 2009–present |
Preemptive Multitasking(抢先多任务处理) | ✔ | ✔ |
Maximum number of tasks(最大任务数) | 255 | Unlimited |
Number of tasks at each priority level(每个优先级的任务数量) | 1 | Unlimited |
Round robin scheduling(轮转调度) | ✔ | |
Semaphores(信号) | ✔ | ✔ |
Mutual exclusion semaphores(互斥信号量) | ✔ | ✔ (Nestable) |
Event flags(事件标志) | ✔ | ✔ |
Message mailboxes(消息邮箱) | ✔ | No (not needed) |
Message queues(消息队列) | ✔ | ✔ |
Fixed sized memory management(固定大小的内存管理) | ✔ | ✔ |
Signal a task without requiring a semaphore(在不需要信号量的情况下给任务发送信号) | ✔ | |
Option to post without scheduling(没有发布调度选项) | ✔ | |
Send messages to a task without requiring a message queue(不需要消息队列就可以向任务发送消息) | ✔ | |
Software timers(软件定时器) | ✔ | ✔ |
Task suspend/resume(任务挂起/恢复) | ✔ | ✔ (Nestable) |
Deadlock prevention(预防死锁) | ✔ | ✔ |
Scalable(可扩展性) | ✔ | ✔ |
Code footprint(代码的足迹) | 6K to 26K | 6K to 24K |
Data footprint(数据足迹) | 1K+ | 1K+ |
ROMable(可只读存储器化) | ✔ | ✔ |
Run-time configurable(运行时配置) | ✔ | |
Compile-time configurable(编译时可配置) | ✔ | ✔ |
ASCII names for each kernel object(每个内核对象的ASCII名称) | ✔ | ✔ |
Pend on multiple objects(花费在多个对象上) | ✔ | ✔ |
Task registers(任务的寄存器) | ✔ | ✔ |
Built-in performance measurements(内置性能测量) | Limited | Extensive |
User definable hook functions(用户可定义的钩子函数) | ✔ | ✔ |
Time stamps on posts(邮政时间戳) | ✔ | |
Built-in kernel awareness support(内置内核感知支持) | ✔ | ✔ |
Optimizable scheduler in assembly language(可优化的汇编语言调度程序) | ✔ | |
Catch a task that returns(捕获返回的任务) | ✔ | |
Tick handling at task level(在任务级别处理滴答) | ✔ | |
Dynamic tick rate(动态嘀嗒频率) | ✔ | |
Source code available(源代码开源) | ✔ | ✔ |
Number of services(数量的服务) | ~90 | ~70 |
MISRA-C:1998 | ✔ (except 10 rules) | N/A |
MISRA-C:2012 | ✔ (except 8 advisory and 8 required guidelines) | |
DO178B Level A and EUROCAE ED-12B | ✔ | ✔ |
Medical FDA pre-market notification (510(k)) and pre-market approval (PMA) | ✔ | ✔ |
SIL3/SIL4 IEC for transportation and nuclear systems | ✔ | ✔ |
IEC-61508() | ✔ | ✔ |
µC/OS-II和µC/OS-III比较
最新推荐文章于 2023-02-23 17:44:12 发布