source: examples-v2/hello/hello_world_c/test.c @ 9dce21f

4.11
Last change on this file since 9dce21f was 3083373, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 6, 2009 at 8:25:58 PM

Initial import of reorganized examples.

  • Property mode set to 100644
File size: 680 bytes
Line 
1/*
2 *  Simple test program -- simplified version of sample test hello.
3 *
4 *  $Id$
5 */
6
7#include <bsp.h>
8
9#include <stdlib.h>
10#include <stdio.h>
11
12rtems_task Init(
13  rtems_task_argument ignored
14)
15{
16  printf( "\n\n*** HELLO WORLD TEST ***\n" );
17  printf( "Hello World\n" );
18  printf( "*** END OF HELLO WORLD TEST ***\n" );
19  exit( 0 );
20}
21
22/* configuration information */
23
24/* NOTICE: the clock driver is explicitly disabled */
25#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
26#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
27
28#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
29#define CONFIGURE_MAXIMUM_TASKS 1
30
31#define CONFIGURE_INIT
32
33#include <rtems/confdefs.h>
34
35/* end of file */
Note: See TracBrowser for help on using the repository browser.