source: examples-v2/hello/posix_hello_world/test.c @ 3083373

4.11baseexamples-v2-4-10-branch initial
Last change on this file since 3083373 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: 666 bytes
Line 
1/*
2 *  Simple test program -- simplified version of sample test hello.
3 */
4
5#include <bsp.h>
6
7#include <stdio.h>
8#include <stdlib.h>
9
10void *POSIX_Init(
11  void *argument
12)
13{
14  printf( "\n\n*** HELLO WORLD TEST ***\n" );
15  printf( "Hello World\n" );
16  printf( "*** END OF HELLO WORLD TEST ***\n" );
17  exit( 0 );
18}
19
20/* configuration information */
21
22/* NOTICE: the clock driver is explicitly disabled */
23#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
24#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
25
26#define CONFIGURE_POSIX_INIT_THREAD_TABLE
27
28#define CONFIGURE_MAXIMUM_POSIX_THREADS 1
29
30#define CONFIGURE_INIT
31
32#include <rtems/confdefs.h>
33
34/* end of file */
Note: See TracBrowser for help on using the repository browser.