# eCos User Guide

Copyright © 2001, 2002, 2003, 2004, 2009 Free Software Foundation, Inc.

Documentation licensing terms

This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/).

Distribution of the work or derivative of the work in any standard (paper) book form is prohibited unless prior permission is obtained from the copyright holder.

Trademarks

Altera® and Excalibur™ are trademarks of Altera Corporation.

AMD® is a registered trademark of Advanced Micro Devices, Inc.

ARM®, StrongARM®, Thumb®, ARM7™, ARM9™ is a registered trademark of Advanced RISC Machines, Ltd.

Cirrus Logic® and Maverick™ are registered trademarks of Cirrus Logic, Inc.

Cogent™ is a trademark of Cogent Computer Systems, Inc.

Compaq® is a registered trademark of the Compaq Computer Corporation.

Fujitsu® is a registered trademark of Fujitsu Limited.

IBM®, and PowerPC™ are trademarks of International Business Machines Corporation.

IDT® is a registered trademark of Integrated Device Technology Inc.

Intel®, i386™, Pentium®, StrataFlash® and XScale™ are trademarks of Intel Corporation.

Intrinsyc® and Cerf™ are trademarks of Intrinsyc Software, Inc.

Linux® is a registered trademark of Linus Torvalds.

Matsushita™ and Panasonic® are trademarks of the Matsushita Electric Industrial Corporation.

Microsoft®, Windows®, Windows NT® and Windows XP® are registered trademarks of Microsoft Corporation, Inc.

MIPS®, MIPS32™ MIPS64™, 4K™, 5K™ Atlas™ and Malta™ are trademarks of MIPS Technologies, Inc.

Motorola®, ColdFire® is a trademark of Motorola, Inc.

NEC® V800™, V850™, V850/SA1™, V850/SB1™, VR4300™, and VRC4375™ are trademarks of NEC Corporation.

PMC-Sierra® RM7000™ and Ocelot™ are trademarks of PMC-Sierra Incorporated.

Red Hat, eCos™, RedBoot™, GNUPro®, and Insight™ are trademarks of Red Hat, Inc.

Samsung® and CalmRISC™ are trademarks or registered trademarks of Samsung, Inc.

Sharp® is a registered trademark of Sharp Electronics Corp.

SPARC® is a registered trademark of SPARC International, Inc., and is used under license by Sun Microsystems, Inc.

Sun Microsystems® and Solaris® are registered trademarks of Sun Microsystems, Inc.

SuperH™ and Renesas™ are trademarks owned by Renesas Technology Corp.

Texas Instruments®, OMAP™ and Innovator™ are trademarks of Texas Instruments Incorporated.

Toshiba® is a registered trademark of the Toshiba Corporation.

UNIX® is a registered trademark of The Open Group.

All other brand and product names, trademarks, and copyrights are the property of their respective owners.

List of Tables
11-1. Configuration for various download methods
18-1. Cell types
23-1. Keyboard accelerators
24-1. CDL Expressions
24-2. Configuration properties

List of Figures
11-1. Configuration Tool
11-2. Template selection
11-3. Configuring for the target
11-4. Selecting the Build Library menu item
11-5. Save file dialog
11-6. Build tools dialog
11-7. User tools dialog
11-8. Selecting the Build Tests menu item
12-1. Run tests
12-2. Properties dialog box
13-1. Two threads with simple print statements after random delays
15-1. Configuration Tool
15-2. Repository relocation dialog box
15-3. Save As dialog box
15-4. Open dialog box
16-1. HTML Help viewer
17-1. Settings dialog, Display tab
17-2. Settings dialog, Viewers tab
19-1. Packages dialog box
19-2. Platforms dialog box
19-3. Platform Modify dialog box
19-4. Templates dialog box
19-5. Options
19-6. Resolve conflicts window
20-1. Find dialog box
21-1. Build tools
21-2. User tools
22-1. Properties dialog box
22-2. Run tests
22-3. Add files from folder
25-1. Component repository

List of Examples
11-1. Getting help from ecosconfig
11-2. ecosconfig output — list of available packages, targets and templates
14-1. A sample program that creates an alarm
27-1. Hello world with tracing
27-2. Using instrument buffers
27-3. Instrument buffer output
28-1. eCos linker script fragment

|  | Next
|  | Introduction