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

4.11
Last change on this file since c882040 was c882040, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 3, 2011 at 6:00:33 PM

2011-03-03 Joel Sherrill <joel.sherrilL@…>

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