MQX和MQX Lite 精简版主要有三个不同:
1.精简版没有使用动态内存分配,所有内核资源是静态分配的。但是,用户应用程序可以通过可选轻量级
内存分配组件分配使用动态内存。
2.精简版只支持基于优先级抢占式的任务调度
精简版不允许动态创建任务,所有任务资源都是在编译时候预先分配的
精简版支持MQX组件的轻量子集:轻量级 信号量;轻量级 信号量;轻量级 事件;互斥量;轻量级 消息;
轻量级 定时器;轻量级 内存分配;
精简版包含了标准版的中断处理
精简版不包含板级支持包或者任何外设驱动,但是 PExLLD 驱动可以在其中使用
3.下面是精简版特点和资源限制的结论:
可参考MQX? Lite Real-Time Operating System User Guide的概述
精简版不支持RTCS (Real-Time Communication Suite)实时通信套件
精简版不支持MFS (Freescale MQX? MFS? Embedded File System)飞思卡尔MQX嵌入式文件系统
精简版支持由PEx component组件生产的USB协议栈功能
精简版不支持MQX Shell library MQX外壳库.
译者加:总而言之精简版就是提供了基本的内核功能。这些区别提供了你需求的选择依据。
下文摘自:
MQX Lite Real-Time OperatingSystem User Guide
1.1.1 Comparison Between MQX Lite and MQX
These are the main differences between MQX Lite and standard MQX RTOS:
MQX Lite does not use dynamic memory allocation. All kernel resources are
allocated statically. However, the user application can still use the dynamic memory
allocation offered by the optional lightweight memory allocation component.
MQX Lite only supports priority based pre-emptive scheduler.
MQX Lite does not allow dynamic task creation, all tasks resources are pre-allocated
at compile time.
MQX Lite supports "lightweight" subset of the MQX components: LW semaphore,
LW event, Mutex, LW message, LW timer, and LW memory allocator.
MQX Lite includes standard MQX interrupt handling.
MQX Lite does not include a BSP nor any peripheral drivers. Instead, the PEx LDD
drivers can be used in the end application.
These are the results of MQX Lite features and resource limitations:
Overview of MQX Lite
MQX? Lite Real-Time Operating System User Guide, Rev. 1.1, 02/2014
6 Freescale Semiconductor, Inc.
RTCS (Real-Time Communication Suite) is not supported in MQX Lite.
MFS (Freescale MQX? MFS? Embedded File System) is not supported in MQX
Lite.
USB functionality is available using Freescale bare-metal USB stack (also a PEx
component).
MQX Shell library is not supported.
|