RTEMS 开发环境指南

来源:互联网 发布:淘宝易信 编辑:程序博客网 时间:2024/05/16 10:15

RTEMS 开发环境指南

develenv.RTEMS开发环境指南.双语.V20131224.pdf
RTEMS 的develenv文档的原创翻译。

目录

1  简介 7
2  目录结构 9
2.1  c/ 目录 14
2.1.1 c/src/ 目录 15
2.1.1.1 c/src/lib/libbsp BSP目录 18
2.2  CPU工具箱目录 19
2.3  testsuites/测试套件 24
2.4  Documentation目录 26
3  示例应用程序 31
3.1  简介 31
3.2  Hello World 36
3.3  时钟节拍 36
3.4  基本单处理器应用程序 38
3.5  基本多处理器应用程序 38
3.6  C++构造函数/析构函数应用程序 39
3.7  最小大小测试 41
3.8  纳秒粒度应用程序 41
3.9  Paranoia浮点应用程序 43
3.10  网络环回测试 44
4  RTEMS特定的工具 45
4.1  packhex – 压缩16进制文件 47
4.2  unhex – 转换16进制文件到对应的二进制 48
命令和变量索引 51
概念索引 53

1  Introduction
1  简介

This document describes the RTEMS development environment. Discussions are provided for the following topics:
本文档描述了RTEMS开发环境。为下列主题提供了讨论:

 the directory structure used by RTEMS,
 usage of the GNU Make utility within the RTEMS development environment,
 sample applications, and
 the RTEMS specific utilities.

 RTEMS所使用的目录结构,
 GNU Make工具在RTEMS开发环境内的用法,
 示例应用程序,和
 RTEMS特定的工具。

RTEMS was designed as a reusable software component. Highly reusable software such as RTEMS is typically distributed in the form of source code without providing any support tools. RTEMS is the foundation for a complex family of facilities including board support packages, device drivers, and support libraries.  The RTEMS Development Environment is not a CASE tool. It is a collection of tools designed to reduce the complexity of using and enhancing the RTEMS family. Tools are provided which aid in the management of the development, maintenance, and usage of RTEMS, its run-time support facilities, and applications which utilize the executive.
RTEMS被设计成一种可重用的软件组件。调度可重用的软件如RTEMS通常以源代码的形式分发,不提供任何支持工具。RTEMS是一个复杂家族的设施,包括板级支持包、设备驱动和支持库的基础。RTEMS开始环境不是一套工具。它是工具集合,旨在减少使用和加强RTEMS家族的复杂性。提供的工具帮助开发、维护的管理,RTEMS及其运行时支持机制、利用执行器的应用程序的使用。

A key component of the RTEMS development environment is the GNU family of free tools. This is robust set of development and POSIX compatible tools for which source code is freely available. The primary compilers, assemblers, linkers, and make utility used by the RTEMS development team are the GNU tools. They are highly portable supporting a wide variety of host computers and, in the case of the development tools, a wide variety of target processors.
RTEMS开发环境的关键组件是GNU家族的免费工具。这是强壮的开发和POSIX兼容工具集,源代码是可免费获得的。由RTEMS开发团队使用的基本编译器、汇编器、链接器和make工具是 GNU工具。它们是高度可移植的,支持各种各样的主机、开发中的工具和各种各样的目标处理器。

It is recommended that the RTEMS developer become familiar with the RTEMS Development Environment before proceeding with any modifications to the executive source tree. The source code for the executive is very modular and source code is divided amongst directories based upon functionality as well as dependencies on CPU and target board. This organization is aimed at isolating and minimizing non-portable code. This has the immediate result that adding support for a new CPU or target board requires very little "wandering" around the source tree.
建议RTEMS开发人员在对执行器源代码树进行任何修改之前熟悉RTEMS开发环境。执行器的源代码非常模块化,源代码基于功能以及CPU和目标板的依赖性在目录中分开。这样组织旨在隔离和减少不可移植代码。这直接导致增加新CPU或目标板的支持需要极少的在源代码树周围的“徘徊”。

全文下载地址:http://download.csdn.net/detail/zhumaill/7019527

0 0
原创粉丝点击