RTEMS Development Environment Guide
The RTEMS source distribution includes a set of sample applications
that are located in the ${RTEMS_ROOT}/c/src/tests/samples/
directory. These applications are intended to illustrate the
basic format of RTEMS single and multiple processor
applications and the use of some features. In addition, these
relatively simple applications can be used to test locally
developed board support packages and device drivers as they
exercise a critical subset of RTEMS functionality that is often
broken in new BSPs.
Each of the following sample applications will be listed in more detail in the following sections:
${RTEMS_ROOT}/c/src/tests/samples/hello/
.
This test is helpful when testing new
versions of RTEMS, BSPs, or modifications to any portion of the
RTEMS development environment.
${RTEMS_ROOT}/c/src/tests/samples/ticker/
subdirectory provides a test for verification of clock chip
device drivers of BSPs.
${RTEMS_ROOT}/c/src/tests/samples/base_sp/
.
${RTEMS_ROOT}/c/src/tests/samples/base_mp/
.
${RTEMS_ROOT}/c/src/tests/samples/cdtest/
subdirectory provides a simple C++ application using
constructors and destructors. It is only built when
C++ is enabled.
${RTEMS_ROOT}/c/src/tests/samples/paranoia/
contains the public domain floating point and math library test.
${RTEMS_ROOT}/c/src/tests/samples/minimum/
contains a simple RTEMS program that results in a non-functional
executable. It is intended to show the size of a minimum footprint
application based upon the current RTEMS configuration.
${RTEMS_ROOT}/c/src/tests/samples/unlimited/
directory contains a sample test that demonstrates the use of the
unlimited object allocation configuration option to RTEMS.
${RTEMS_ROOT}/c/src/tests/samples/loopback/
directory contains a sample test that demonstrates the use of
sockets and the loopback network device. It does not require
the presence of network hardware in order to run.
It is only built if RTEMS was configured with networking enabled.
The sample tests are written using the Classic API so the reader should be familiar with the terms used and material presented in the RTEMS Applications Users Guide.
RTEMS Development Environment Guide
Copyright © 1988-2004 OAR Corporation