RTEMS Development Environment Guide
This sample application is in the following directory:
${RTEMS_ROOT}/testsuites/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.
RTEMS Development Environment Guide
Copyright © 1988-2008 OAR Corporation