RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


Sample Applications Hello World

PREV UP NEXT Bookshelf RTEMS Development Environment Guide

3.2: Hello World

This sample application is in the following directory:

${RTEMS_ROOT}/tests/samples/hello/

It provides a rudimentary test of the BSP start up code and the console output routine. The C version of this sample application uses the printf function from the RTEMS Standard C Library to output messages. The Ada version of this sample use the TEXT_IO package to output the hello messages. The following messages are printed:

*** HELLO WORLD TEST ***
Hello World
*** END OF HELLO WORLD TEST ***

These messages are printed from the application's single initialization task. If the above messages are not printed correctly, then either the BSP start up code or the console output routine is not operating properly.


PREV UP NEXT Bookshelf RTEMS Development Environment Guide

Copyright © 1988-2004 OAR Corporation