RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


Sample Applications Base Single Processor Application

PREV UP NEXT Bookshelf RTEMS Development Environment Guide

3.4: Base Single Processor Application

This sample application is in the following directory:

${RTEMS_ROOT}/tests/samples/base_sp/

It provides a framework from which a single processor RTEMS application can be developed. The use of the task argument is illustrated. This sample application uses the printf function from the RTEMS Standard C Library or TEXT_IO functions when using the Ada version to output the following messages:

*** SAMPLE SINGLE PROCESSOR APPLICATION ***
Creating and starting an application task
Application task was invoked with argument (0) and has id of 0x10002
*** END OF SAMPLE SINGLE PROCESSOR APPLICATION ***

The first two messages are printed from the application's single initialization task. The final messages are printed from the single application task.


PREV UP NEXT Bookshelf RTEMS Development Environment Guide

Copyright © 1988-2004 OAR Corporation