查看: 3632|回复: 4

[MQX] 小七带你玩转MQX(零)MQX Lite 概述

[复制链接]

该用户从未签到

29

主题

439

帖子

0

版主

Rank: 7Rank: 7Rank: 7

积分
720
最后登录
2015-12-29
发表于 2015-7-13 13:39:54 | 显示全部楼层 |阅读模式
​MQX 精简版概述
MQX精简版是一个实时操作系统,该系统管理微处理器或者微控制器的时间并且允许以下功能:
多任务处理
基于优先级的调度
资源访问的同步
任务间(进程或者说线程间)通信
中断处理
MQX精简版提供一个为实时多任务应用的运行时函数库。
MQX由内核和组件组成。内核组件只包含由MQX系统或者应用程序调用的函数。
为了满足应用程序的需求,应用程序可以添加可选的组件来扩展。
由于MQX精简版集成处理专家应用程序,可以轻易的通过MQX精简版的PEx组件的GUI图形界面来配置。集成到PEx组件中的技术可以让逻辑设备驱动为不同模块和设备生产驱动来达到广泛的使用。
MQX精简版集成PEx组件,使得用户代码可以在飞思卡尔的不同平台之间轻松的移植。这不需要标准版MQX需要的板级支持包。而是,PEx组件和设备逻辑驱动可以生产像传统MQX系统代码一样的源代码。生产的代码包含了特定板的底层启动,处理器和板级初始化的代码。
用户可以通过运行PEx组件,用新建工程向导来创建裸板工程。这会将MQX精简版的PEx组件添加到创建的工程中。添加MQX到已有的工程中也是可以的。两种创建带MQX精简版的应用程序的方法在这个文档中都有描述。PEx组件的GUI可以用来配置MQX实时系统和定义用户任务和它们的参数。当所有的PEx组件都添加到工程中,并且所有的配置都已经完成,针对所选用的编译器的代码就会生产。你可以通过配置已经定义好的MQX精简版的任务来编写应用程序代码,然后编译,运行和调试它。

​Overview of MQX Lite
MQX Lite is an RTOS that manages the time of a microprocessor or microcontroller and
allows:
• Multi-tasking
• Scheduling tasks with priorities
• Synchronization of the resource access
• Inter-task communication
• Interrupt handling
MQX Lite provides a run-time library of functions designed for real-time multitasking
applications.
MQX consists of core (non-optional) and optional components. Functions, which are
called either by MQX or an application, are the only functions included in the application
image for core components. To match application requirements, an application can be
extended by adding optional components.
Because MQX Lite is integrated with Processor Expert installation, it is easily
configurable through GUI, which is the dedicated MQX Lite PEx component. The
integration to PEx technology allows the usage of a wide range of Logical Device Drivers
(LDD) that can be generated for different modules and different devices.
MQX Lite integration with PEx also allows an easy migration of the user application
code across different Freescale platforms. There is no need for a Board Support Package
(BSP) which is necessary for a standard MQX version. Instead, the set of PEx
components and LDDs can be used to generate source code similar to the classic MQX
BSP code. The generated code contains board-specific low-level startup code, processor,
and board initialization code.
The user runs the PEx and creates a new bareboard project by using the New Project
Wizard. This adds the MQX Lite PEx component into the created project. Adding MQX
Lite into an existing project is also possible. Both ways of creating an MQX Lite
application are described in this document. PEx GUI allows configuring the MQX Lite
RTOS and defining application tasks and their parameters. When all required PEx
components are added into the project and the entire configuration is complete, the source
code for the selected compiler is generated. You can write the application by
implementing already defined MQX Lite tasks, build, run and debug the application。

我知道答案 目前已有4人回答

评分

参与人数 1NXP金币 +20 收起 理由
小七 + 20 打赏

查看全部评分

回复

使用道具 举报

该用户从未签到

16

主题

78

帖子

0

注册会员

Rank: 2

积分
178
最后登录
2018-6-1
发表于 2015-7-13 13:56:14 | 显示全部楼层
版主厉害
回复

使用道具 举报

该用户从未签到

29

主题

439

帖子

0

版主

Rank: 7Rank: 7Rank: 7

积分
720
最后登录
2015-12-29
 楼主| 发表于 2015-7-13 14:18:11 | 显示全部楼层
多多支持,欢迎指正共同学习
回复 支持 反对

使用道具 举报

  • TA的每日心情
    开心
    2018-7-23 21:04
  • 签到天数: 103 天

    连续签到: 1 天

    [LV.6]常住居民II

    228

    主题

    5379

    帖子

    0

    金牌会员

    Rank: 6Rank: 6

    积分
    16697
    最后登录
    1970-1-1
    发表于 2015-7-16 22:41:53 | 显示全部楼层
    学习了,连载
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    29

    主题

    439

    帖子

    0

    版主

    Rank: 7Rank: 7Rank: 7

    积分
    720
    最后登录
    2015-12-29
     楼主| 发表于 2015-7-17 08:53:47 | 显示全部楼层
    有买卖就有杀害,有期待就有连载
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /3 下一条

    Archiver|手机版|小黑屋|恩智浦技术社区

    GMT+8, 2025-7-18 22:08 , Processed in 0.096430 second(s), 25 queries , MemCache On.

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.

    快速回复 返回顶部 返回列表